1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

[PM-5972] add subaddress generator strategy (#7897)

This commit is contained in:
✨ Audrey ✨
2024-02-12 09:20:55 -05:00
committed by GitHub
parent 746bf0a474
commit c41dce8c63
6 changed files with 169 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
import {
ENCRYPTED_HISTORY,
EFF_USERNAME_SETTINGS,
SUBADDRESS_SETTINGS,
PASSPHRASE_SETTINGS,
PASSWORD_SETTINGS,
} from "./key-definitions";
@@ -30,6 +31,14 @@ describe("Key definitions", () => {
});
});
describe("SUBADDRESS_SETTINGS", () => {
it("should pass through deserialization", () => {
const value = {};
const result = SUBADDRESS_SETTINGS.deserializer(value);
expect(result).toBe(value);
});
});
describe("ENCRYPTED_HISTORY", () => {
it("should pass through deserialization", () => {
const value = {};