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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user