1
0
mirror of https://github.com/bitwarden/jslib synced 2026-01-07 11:03:13 +00:00

Fix linting for real

This commit is contained in:
Thomas Rittson
2021-12-21 15:18:09 +10:00
parent a1a83b8ad4
commit 6327441168

View File

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