Fixed test passing
[arvados-workbench2.git] / src / views / workbench / workbench.test.tsx
index 6925792293b65c475539ddd9e0a9bf279cb02f9e..6edebaf0887bc5598391256ee813ed6949d2ec94 100644 (file)
@@ -14,7 +14,16 @@ const history = createBrowserHistory();
 
 it('renders without crashing', () => {
     const div = document.createElement('div');
-    const store = configureStore({ projects: [], router: { location: null }, auth: {}, sidePanel: [] }, createBrowserHistory());
+    const store = configureStore({
+        projects: {
+            items: [],
+            currentItemId: ""
+        },
+        collections: [],
+        router: { location: null },
+        auth: {},
+        sidePanel: []
+    }, createBrowserHistory());
     ReactDOM.render(
         <Provider store={store}>
             <ConnectedRouter history={history}>