Initial commit

This commit is contained in:
zhongjin
2020-06-15 10:58:47 +08:00
commit 4f1dfe7564
8590 changed files with 1516878 additions and 0 deletions
@@ -0,0 +1,13 @@
var AuthenticatedUser = require('dashboard/data/authenticated-user-model');
describe('dashboard/data/authenticated-user-model', function () {
beforeEach(function () {
this.model = new AuthenticatedUser({});
});
it('should return the normal URL', function () {
spyOn(this.model, 'getHost').and.returnValue('test.carto.com');
expect(this.model.url()).toBe('//test.carto.com/api/v1/get_authenticated_users');
});
});