Skip to content

Commit

Permalink
Remove old test from v3
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesplease committed Mar 19, 2020
1 parent c3abc8b commit 4a158fe
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,21 +220,6 @@ describe('fetchDedupe', () => {
expect(fetchMock.calls('/test/hangs').length).toBe(1);
});

// test('prefers init values with request values', () => {
// const req = new Request('/test/hangs', {
// method: 'GET',
// body: 'what',
// });

// fetchDedupe(req, { method: 'PATCH', body: 'ok', responseType: 'json' });
// fetchDedupe('/test/hangs', {
// method: 'PATCH',
// body: 'ok',
// responseType: 'json',
// });
// expect(fetchMock.calls('/test/hangs').length).toBe(1);
// });

test('requests that succeeds with JSON, with no response type specified, to behave as expected', done => {
fetchDedupe('/test/succeeds/json').then(res => {
expect(res).toEqual(
Expand Down

0 comments on commit 4a158fe

Please sign in to comment.