1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 02:03:39 +00:00

[deps] Autofill: Update prettier to v3 (#7014)

* [deps] Autofill: Update prettier to v3

* prettier formatting updates

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Prusik <jprusik@classynemesis.com>
This commit is contained in:
renovate[bot]
2023-11-29 16:15:20 -05:00
committed by GitHub
parent 4ff5f38e89
commit 28de9439be
1145 changed files with 5898 additions and 5612 deletions

View File

@@ -74,7 +74,7 @@ describe("VaultTimeoutService", () => {
authService,
vaultTimeoutSettingsService,
lockedCallback,
loggedOutCallback
loggedOutCallback,
);
});
@@ -91,7 +91,7 @@ describe("VaultTimeoutService", () => {
availableTimeoutActions?: VaultTimeoutAction[];
}
>,
userId?: string
userId?: string,
) => {
// Both are available by default and the specific test can change this per test
availableVaultTimeoutActionsSubject.next([VaultTimeoutAction.Lock, VaultTimeoutAction.LogOut]);
@@ -123,7 +123,7 @@ describe("VaultTimeoutService", () => {
accounts[userId]?.availableTimeoutActions ?? [
VaultTimeoutAction.Lock,
VaultTimeoutAction.LogOut,
]
],
);
});
@@ -133,7 +133,7 @@ describe("VaultTimeoutService", () => {
newPartial[key] = null; // No values actually matter on this other than the key
return Object.assign(agg, newPartial);
},
{} as Record<string, Account>
{} as Record<string, Account>,
);
accountsSubject.next(accountsSubjectValue);
};
@@ -172,7 +172,7 @@ describe("VaultTimeoutService", () => {
});
expectNoAction("1");
}
},
);
it.each([
@@ -195,7 +195,7 @@ describe("VaultTimeoutService", () => {
await vaultTimeoutService.checkVaultTimeout();
expectNoAction("1");
}
},
);
it.each([undefined, null])(
@@ -212,7 +212,7 @@ describe("VaultTimeoutService", () => {
await vaultTimeoutService.checkVaultTimeout();
expectNoAction("1");
}
},
);
it("should lock an account that isn't active and has immediate as their timeout when view is not open", async () => {
@@ -276,7 +276,7 @@ describe("VaultTimeoutService", () => {
availableTimeoutActions: [VaultTimeoutAction.LogOut],
},
},
"2" // Treat user 2 as the active user
"2", // Treat user 2 as the active user
);
await vaultTimeoutService.checkVaultTimeout();