chore: reworking all deps to use cross-fetch instead
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user