Skip to content

Commit

Permalink
Add authenticated fetch (#138)
Browse files Browse the repository at this point in the history
* Add authenticated fetch

* Add tests

* Update vitest

* setup node-fetch

* update lockfle

* change to global.fetch

* add mock fetch

* Change window.fetch to global.fetch
  • Loading branch information
lkostrowski authored Dec 12, 2022
1 parent e73b792 commit f612da9
Show file tree
Hide file tree
Showing 6 changed files with 472 additions and 100 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^8.0.0",
"husky": "^8.0.1",
"jsdom": "^20.0.0",
"jsdom": "^20.0.3",
"lint-staged": "^13.0.3",
"next": "^12.3.0",
"node-mocks-http": "^1.11.0",
"prettier": "2.7.1",
Expand All @@ -68,9 +69,9 @@
"tsm": "^2.2.2",
"tsup": "^6.2.3",
"typescript": "^4.8.2",
"vite": "^3.1.0",
"vitest": "^0.23.1",
"lint-staged": "^13.0.3"
"vi-fetch": "^0.8.0",
"vite": "^3.2.5",
"vitest": "^0.25.6"
},
"lint-staged": {
"*.{js,ts,tsx}": "eslint --cache --fix",
Expand Down
Loading

0 comments on commit f612da9

Please sign in to comment.