diff --git a/libs/auth/src/angular/two-factor-auth/two-factor-auth.component.spec.ts b/libs/auth/src/angular/two-factor-auth/two-factor-auth.component.spec.ts index af12c54371d..deb95ed2cdb 100644 --- a/libs/auth/src/angular/two-factor-auth/two-factor-auth.component.spec.ts +++ b/libs/auth/src/angular/two-factor-auth/two-factor-auth.component.spec.ts @@ -381,10 +381,6 @@ describe("TwoFactorComponent", () => { }); describe("Trusted Device Encryption scenarios", () => { - beforeEach(() => { - mockTwoFactorAuthCompService.closeWindow = undefined; - }); - describe("Given Trusted Device Encryption is enabled and user needs to set a master password", () => { beforeEach(() => { selectedUserDecryptionOptions.next(