Skip to content

Commit 57475b9

Browse files
committed
test(settings): mock policies fetch on mount
Signed-off-by: Vitor Mattos <[email protected]>
1 parent 05fa7eb commit 57475b9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/tests/components/Settings/Settings.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ vi.mock('../../../store/policies', () => ({
5050
get policies() {
5151
return mockPolicies.value
5252
},
53+
fetchEffectivePolicies: vi.fn(async () => {}),
5354
}),
5455
}))
5556

0 commit comments

Comments
 (0)