From 63274411680f5640e253eb5cd9d7b8130c4f2ea5 Mon Sep 17 00:00:00 2001 From: Thomas Rittson Date: Tue, 21 Dec 2021 15:18:09 +1000 Subject: [PATCH] Fix linting for real --- spec/common/services/auth.service.spec.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/spec/common/services/auth.service.spec.ts b/spec/common/services/auth.service.spec.ts index 7c1618df..a5f439ba 100644 --- a/spec/common/services/auth.service.spec.ts +++ b/spec/common/services/auth.service.spec.ts @@ -345,7 +345,7 @@ describe("Cipher Service", () => { const expected = buildAuthResponse(); expect(result).toEqual(expected); }); - }) + }); describe("Two-factor authentication", () => { beforeEach(() => { @@ -417,9 +417,15 @@ describe("Cipher Service", () => { }); it("logInTwoFactor: uses 2FA token entered by user from the 2FA page", async () => { - (authService as any).savedTokenRequest = new PasswordTokenRequest(email, hashedPassword, null, null, { + (authService as any).savedTokenRequest = new PasswordTokenRequest( + email, + hashedPassword, + null, + null, + { identifier: deviceId, - } as DeviceRequest); + } as DeviceRequest + ); await authService.logInTwoFactor({ provider: twoFactorProviderType,