From 4a158fe462bf132b4125c7af48cb3864a60ee0ac Mon Sep 17 00:00:00 2001 From: James <2322305+jamesplease@users.noreply.github.com> Date: Thu, 19 Mar 2020 10:19:56 -0700 Subject: [PATCH] Remove old test from v3 --- test/index.test.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/test/index.test.js b/test/index.test.js index a7fa547..4ca5d23 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -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(