projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remvoe static create method, update webdav methods signatures, change Config props...
[arvados.git]
/
src
/
store
/
auth
/
auth-reducer.test.ts
diff --git
a/src/store/auth/auth-reducer.test.ts
b/src/store/auth/auth-reducer.test.ts
index 0e05263d4301a7b3d94f0408670da9a9cc019fd5..aaedd40d0b847455d0852efbce0a031cfd14067d 100644
(file)
--- a/
src/store/auth/auth-reducer.test.ts
+++ b/
src/store/auth/auth-reducer.test.ts
@@
-13,7
+13,7
@@
describe('auth-reducer', () => {
beforeAll(() => {
localStorage.clear();
beforeAll(() => {
localStorage.clear();
- reducer = authReducer(createServices(
"/arvados/v1"
));
+ reducer = authReducer(createServices(
{ apiHost: "/arvados/v1", keepWebHost: "" }
));
});
it('should correctly initialise state', () => {
});
it('should correctly initialise state', () => {
@@
-25,7
+25,7
@@
describe('auth-reducer', () => {
uuid: "uuid",
ownerUuid: "ownerUuid"
};
uuid: "uuid",
ownerUuid: "ownerUuid"
};
- const state = reducer(initialState, authActions.INIT({
user, token: "token"
}));
+ const state = reducer(initialState, authActions.INIT({
user, token: "token"
}));
expect(state).toEqual({
apiToken: "token",
user
expect(state).toEqual({
apiToken: "token",
user