Commit a9a5281
committed
fix: resolve vitest webidl-conversions errors
Fix unhandled errors with webidl-conversions and whatwg-url:
- Add pool: "forks" to vitest config for better process isolation
- Add global polyfills for Set, Map, WeakMap, WeakSet in test setup
This resolves the "Cannot read properties of undefined" errors
that were occurring during module loading in the test environment.
All 292 tests now pass successfully.1 parent 9f58e4b commit a9a5281
2 files changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments