mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +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;
|