mirror of
https://github.com/bitwarden/browser
synced 2026-02-01 09:13:54 +00:00
Fix tests
This commit is contained in:
@@ -66,6 +66,7 @@ describe("DefaultEncryptedMigrationsSchedulerService", () => {
|
||||
|
||||
jest.spyOn(PromptMigrationPasswordComponent, "open").mockReturnValue(mockDialogRef as any);
|
||||
mockI18nService.t.mockReturnValue("translated_migrationsFailed");
|
||||
(mockRouter as any)["events"] = of({ url: "/vault" }) as any;
|
||||
|
||||
service = new DefaultEncryptedMigrationsSchedulerService(
|
||||
mockSyncService,
|
||||
|
||||
Reference in New Issue
Block a user