1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-01 09:13:54 +00:00

Fix tests

This commit is contained in:
Bernd Schoolmann
2025-11-03 15:00:35 +01:00
parent 00b2cdfb62
commit fa7b085a9c

View File

@@ -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,