test: update component tests

This commit is contained in:
4gray committed 2024-12-01 16:29:24 +01:00
1 parent d13fa6fa28
commit 47ff7aa2dc
9 files changed
+357 -156

No files matched your search

+1 -1
View File
@@ -220,7 +220,7 @@ describe('AppComponent', () => {
expect(spyOnSettingsGet).toHaveBeenCalledWith(STORE_KEY.Settings);
expect(settingsService.changeTheme).toHaveBeenCalledWith(theme);
expect(electronService.sendIpcEvent).toHaveBeenCalledTimes(2);
expect(electronService.sendIpcEvent).toHaveBeenCalledTimes(1);
expect(translateService.use).toHaveBeenCalledWith(language);
});