1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-23 03:22:50 +02:00
bitwarden-browser/libs/common/test.setup.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
193 B
TypeScript
Raw Permalink Normal View History

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