Commit 265988f
committed
fix(ci): use node test environment for encryption tests
Node 20's Web Crypto API rejects JSDOM cross-realm ArrayBuffer objects.
Adding @jest-environment node to encryption.test.ts ensures the tests
run in Node's native environment, bypassing the JSDOM realm mismatch.
These tests don't need a DOM and are pure crypto operations.1 parent a227004 commit 265988f
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
3 | 7 | | |
4 | 8 | | |
| |||
0 commit comments