1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 05:13:29 +00:00

fix length allowing negative values on Chrome extension (#11926)

This commit is contained in:
✨ Audrey ✨
2024-11-11 10:48:32 -05:00
committed by GitHub
parent 19e786f820
commit 888b9e346c
3 changed files with 52 additions and 4 deletions

View File

@@ -1163,7 +1163,11 @@ describe("CredentialGeneratorService", () => {
await awaitAsync();
const result = await firstValueFrom(stateProvider.getUserState$(SettingsKey, SomeUser));
expect(result).toEqual({ foo: "next value" });
expect(result).toEqual({
foo: "next value",
// FIXME: don't leak this detail into the test
"$^$ALWAYS_UPDATE_KLUDGE_PROPERTY$^$": 0,
});
});
it("waits for the user to become available", async () => {