diff --git a/setupJest.ts b/setupJest.ts index 1d5b38c..45a75ae 100644 --- a/setupJest.ts +++ b/setupJest.ts @@ -1,3 +1,7 @@ +import * as crypto from "crypto"; +// eslint-disable-next-line @typescript-eslint/no-explicit-any +globalThis.crypto = crypto as any; + import jestFetchMock from "jest-fetch-mock"; jestFetchMock.enableMocks();