mirror of
https://github.com/Kong/insomnia
synced 2024-11-12 17:26:32 +00:00
5f4c19da35
Co-authored-by: Opender Singh <opender.singh@konghq.com>
11 lines
319 B
TypeScript
11 lines
319 B
TypeScript
import * as entities from '../ui/redux/modules/entities';
|
|
|
|
const reduxStateForTest = async (activeWorkspaceId: string): Promise<Record<string, any>> => ({
|
|
entities: entities.reducer({}, entities.initializeWith(await entities.allDocs())),
|
|
global: {
|
|
activeWorkspaceId,
|
|
},
|
|
});
|
|
|
|
export default reduxStateForTest;
|