1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-27 10:23:48 +01:00
bitwarden-estensione-browser/libs/common/test.setup.ts

11 lines
193 B
TypeScript
Raw Normal View History

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