bitwarden-estensione-browser/libs/common/test.setup.ts

11 lines
193 B
TypeScript

import { webcrypto } from "crypto";
import { addCustomMatchers } from "./spec";
Object.defineProperty(window, "crypto", {
value: webcrypto,
});
// Add custom matchers
addCustomMatchers();