mirror of
https://github.com/bitwarden/browser
synced 2026-02-20 19:34:03 +00:00
fix unit tests
This commit is contained in:
@@ -12,7 +12,7 @@ export function deepFreeze<T extends object>(value: T): Readonly<T> {
|
||||
for (const key of keys) {
|
||||
const own = value[key];
|
||||
|
||||
if ((own && typeof own === "object") || typeof own === "function") {
|
||||
if (own && typeof own === "object") {
|
||||
deepFreeze(own);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user