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

[PM-5973] add catchall generation strategy (#7898)

This commit is contained in:
✨ Audrey ✨
2024-02-12 10:27:47 -05:00
committed by GitHub
parent b37ba71712
commit eafe3dec67
6 changed files with 170 additions and 1 deletions

View File

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