1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 21:50:15 +00:00

Update libs/key-management/src/key.service.spec.ts

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
This commit is contained in:
Bernd Schoolmann
2025-02-07 11:50:19 +01:00
committed by GitHub
parent 90729a579f
commit dd971308b9

View File

@@ -851,7 +851,7 @@ describe("keyService", () => {
return [fakeUserKey, fakeMasterKey];
}
it("returns null private key is null", async () => {
it("returns null when private key is null", async () => {
setupKeys({ makeMasterKey: false, makeUserKey: false });
keyService.userPrivateKey$ = jest.fn().mockReturnValue(new BehaviorSubject(null));