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

6 lines
103 B
TypeScript

import { webcrypto } from "crypto";
Object.defineProperty(window, "crypto", {
value: webcrypto,
});