Store.js
const middleware = applyMiddleware(promise(), thunk, logger);
export const store = createStore(
persistedReducer,
composeWithDevTools(middleware, offline(offlineConfig))
);
export const persistor = persistStore(store);
My test runs fine when there is no offline(offlineConfig) in the store. But when offline(offlineConfig) is added, test shows
1) "before all" hook:
Error: Timeout of 30000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
Is there any solution to run my mocha test successfully adding offline package??
Additional info:
Due to this page does not load and test fails.