Commit c19db75
committed
fix: add crypto module for Node.js compatibility in jest config
- Added the crypto module to the jest configuration to resolve the ReferenceError: crypto is not defined.
- Ensured compatibility with Node.js versions prior to 19 by explicitly setting the global.crypto to webcrypto.1 parent 5b89fac commit c19db75
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | 7 | | |
3 | 8 | | |
| |||
0 commit comments