Skip to content

Commit 00acc8f

Browse files
authored
test: replace deprecated settings assertion (#3397)
1 parent 98dd13d commit 00acc8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/renderer/stores/useSettingsStore.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe('renderer/stores/useSettingsStore.ts', () => {
3434
act(() => {
3535
result.current.toggleSetting('openLinks');
3636
});
37-
}).toThrowError("toggleSetting: 'openLinks' is not a boolean setting");
37+
}).toThrow("toggleSetting: 'openLinks' is not a boolean setting");
3838
});
3939
});
4040

0 commit comments

Comments
 (0)