Commit f6fcaf6
committed
fix: remove node-fetch dependency from test setup
Remove unnecessary node-fetch polyfill from globalSetup.js as fetch
is already available in the jsdom environment. This fixes the
"Cannot find module 'node-fetch'" error in tests.
Modern versions of jsdom include fetch support, making the polyfill
redundant and causing import errors when the package isn't installed.1 parent 804cd62 commit f6fcaf6
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
0 commit comments