Skip to content

Commit 7e96b2b

Browse files
test(store/files): update filters mock to match new store interface
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 7ab6e43 commit 7e96b2b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/tests/store/files.spec.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,12 @@ vi.mock('./filesSorting.js', () => ({
107107
}))
108108

109109
vi.mock('./filters.js', () => ({
110-
useFiltersStore: vi.fn(() => ({ filters: {} })),
110+
useFiltersStore: vi.fn(() => ({
111+
filterStatusArray: [],
112+
filterModifiedRange: null,
113+
filter_modified: '',
114+
filter_status: '',
115+
})),
111116
}))
112117

113118
vi.mock('./identificationDocument.js', () => ({

0 commit comments

Comments
 (0)