mirror of
https://github.com/Kong/insomnia
synced 2024-11-12 17:26:32 +00:00
11 lines
309 B
JavaScript
11 lines
309 B
JavaScript
// @flow
|
|
|
|
import * as entities from '../ui/redux/modules/entities';
|
|
|
|
const reduxStateForTest = async (activeWorkspaceId: string): Promise<Object> => ({
|
|
entities: entities.reducer({}, entities.initializeWith(await entities.allDocs())),
|
|
global: { activeWorkspaceId },
|
|
});
|
|
|
|
export default reduxStateForTest;
|