chore: reworking all deps to use cross-fetch instead

This commit is contained in:
blam
2020-10-08 21:57:27 +02:00
parent cee9ca8777
commit 827bb733bf
11 changed files with 9 additions and 14 deletions
@@ -41,8 +41,8 @@
"@testing-library/user-event": "^12.0.7",
"@types/jest": "^26.0.7",
"@types/node": "^12.0.0",
"msw": "^0.20.5",
"node-fetch": "^2.6.1"
"msw": "^0.21.2",
"cross-fetch": "^3.0.6"
},
"files": [
"dist"
@@ -1,2 +1,2 @@
import '@testing-library/jest-dom';
global.fetch = require('node-fetch');
import 'cross-fetch/register'