1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-06 00:03:29 +00:00

Fix tests

This commit is contained in:
Hinton
2022-05-16 16:09:26 +02:00
parent c717a72e8c
commit 98d336ed85

View File

@@ -10,6 +10,11 @@ import { WebCryptoFunctionService } from "jslib-common/services/webCryptoFunctio
import { makeStaticByteArray } from "../utils";
// Importing the wordlist crashes jest, mock it.
jest.mock("jslib-common/misc/wordlist", () => ({
EEFLongWordList: [],
}));
describe("Crypto Service", () => {
let cryptoFunctionService: CryptoFunctionService;
let platformUtilsService: SubstituteOf<PlatformUtilsService>;