Skip to content

Commit

Permalink
Bump jest-fetch-mock from 2.1.2 to 3.0.2 (OctoLinker#843)
Browse files Browse the repository at this point in the history
* Bump jest-fetch-mock from 2.1.2 to 3.0.2

Bumps [jest-fetch-mock](https://github.com/jefflau/jest-fetch-mock) from 2.1.2 to 3.0.2.
- [Release notes](https://github.com/jefflau/jest-fetch-mock/releases)
- [Commits](https://github.com/jefflau/jest-fetch-mock/commits)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* Adjust API call after upgrading jest-fetch-mock

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Stefan Buck <[email protected]>
  • Loading branch information
dependabot-preview[bot] and Stefan Buck authored Mar 13, 2020
1 parent 9616ada commit 253300b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 25 deletions.
40 changes: 16 additions & 24 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.13.0",
"jest": "^25.1.0",
"jest-fetch-mock": "^2.1.2",
"jest-fetch-mock": "^3.0.2",
"jest-puppeteer": "^4.2.0",
"json": "^9.0.6",
"json-loader": "^0.5.7",
Expand Down
1 change: 1 addition & 0 deletions packages/helper-github-api/__tests__/fetch-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ describe('helper-github-api tree', () => {
it('calls rateLimitNotification on success', async () => {
const headers = new Headers();
headers.append('foo', 'bar');
headers.append('Content-Type', 'application/json');

fetch.mockResponseOnce(response, {
status: 201,
Expand Down

0 comments on commit 253300b

Please sign in to comment.