16812: Removed download attribute, fixed redirectTo
[arvados-workbench2.git] / src / store / auth / auth-action.test.ts
index 83a699a7d2121d7118c2a37ac08cec1f3dc9733c..4e4a85e39196fade0452b92e567d4acb44b3842a 100644 (file)
@@ -23,6 +23,7 @@ describe('auth-actions', () => {
 
     let store: RootStore;
     let services: ServiceRepository;
+    const config: any = {};
     const actions: ApiActions = {
         progressFn: (id: string, working: boolean) => { },
         errorFn: (id: string, message: string) => { }
@@ -32,7 +33,7 @@ describe('auth-actions', () => {
     beforeEach(() => {
         axiosMock.reset();
         services = createServices(mockConfig({}), actions, axiosInst);
-        store = configureStore(createBrowserHistory(), services);
+        store = configureStore(createBrowserHistory(), services, config);
         localStorage.clear();
         importMocks = [];
     });