We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5e1aed commit fcef9dbCopy full SHA for fcef9db
admin-ui/__tests__/setup-tests.js
@@ -1,3 +1,4 @@
1
+global.XMLHttpRequest = require('xhr2')
2
import * as dotenv from 'dotenv';
3
4
dotenv.config({ path: '.env.test' });
admin-ui/package.json
@@ -97,7 +97,8 @@
97
"webpack": "^5.77.0",
98
"webpack-bundle-analyzer": "^4.8.0",
99
"webpack-cli": "^5.0.1",
100
- "webpack-dev-server": "^4.13.2"
+ "webpack-dev-server": "^4.13.2",
101
+ "xhr2": "^0.2.1"
102
},
103
"dependencies": {
104
"@babel/polyfill": "^7.4.4",
0 commit comments