Skip to content

Commit

Permalink
fetch polyfill added
Browse files Browse the repository at this point in the history
  • Loading branch information
PS1242 committed Jun 27, 2023
1 parent ba37d70 commit 00cdf97
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions jest-setup.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
import "@testing-library/jest-dom";
import "whatwg-fetch";
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,21 @@
"devDependencies": {
"@babel/preset-env": "^7.22.5",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@babel/preset-typescript": "^7.21.5",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react": "^4.0.0",
"eslint": "^8.38.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react": "^7.25.3",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.3.4",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.5.0",
"vite": "^4.3.2"
"jest": "^26.6.3",
"vite": "^4.3.2",
"whatwg-fetch": "^3.6.2"
},
"jest": {
"testEnvironment": "jsdom",
Expand All @@ -42,4 +43,4 @@
"\\.(css|less)$": "identity-obj-proxy"
}
}
}
}

0 comments on commit 00cdf97

Please sign in to comment.