mirror of
https://github.com/bitwarden/jslib
synced 2025-12-06 00:03:29 +00:00
Fix tests
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user