Commit 4fdb490
fix(test): expose Node's Web Crypto API to jsdom
jsdom doesn't include crypto.subtle by default, causing encryption
tests to fail in CI. Import webcrypto from node:crypto and expose
it globally when not available.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent be9ff6c commit 4fdb490
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
5 | 12 | | |
6 | 13 | | |
7 | 14 | | |
| |||
0 commit comments