Skip to content

Commit 9d3f773

Browse files
committed
refactor: test renderWithProviders for store initialization
Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent 02630e2 commit 9d3f773

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/renderer/__helpers__/test-utils.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import { BaseStyles, ThemeProvider } from '@primer/react';
77
import { mockAuth, mockSettings } from '../__mocks__/state-mocks';
88

99
import { AppContext, type AppContextState } from '../context/App';
10-
import { useFiltersStore, type FiltersStore } from '../stores';
10+
11+
import { type FiltersStore, useFiltersStore } from '../stores';
1112

1213
export { navigateMock } from './vitest.setup';
1314
export type DeepPartial<T> = { [K in keyof T]?: DeepPartial<T[K]> };

0 commit comments

Comments
 (0)