Skip to content

Commit

Permalink
fix: e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
albertfolch-redeemeum committed Dec 6, 2023
1 parent 211ac91 commit 9e6075b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2e/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ module.exports = {
tsconfig: "<rootDir>/e2e/tsconfig.tests.json"
}
]
}
},
setupFilesAfterEnv : ["./setupTests.ts"]
};
5 changes: 5 additions & 0 deletions e2e/setupTests.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import crypto from "crypto";

Object.defineProperty(globalThis, "crypto", {
value: crypto.webcrypto
});

0 comments on commit 9e6075b

Please sign in to comment.