Merge pull request #18234 from backstage/blam/jsdom-env

cli: Add `Request` `Response` `Headers` and `fetch` to `jsdom` environment
This commit is contained in:
Fredrik Adelöw
2023-06-20 10:40:26 +02:00
committed by GitHub
128 changed files with 25 additions and 186 deletions
-1
View File
@@ -52,7 +52,6 @@
"@testing-library/user-event": "^14.0.0",
"@types/node": "*",
"@types/react": "^16.13.1 || ^17.0.0",
"cross-fetch": "^3.1.5",
"msw": "^1.0.0"
},
"files": [
-1
View File
@@ -14,4 +14,3 @@
* limitations under the License.
*/
import '@testing-library/jest-dom';
import 'cross-fetch/polyfill';