Skip to content

Commit

Permalink
aaargh - lint!
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Nov 21, 2020
1 parent 18041fb commit 838f667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/specs/config/fallbackToNetwork.test.js
Expand Up @@ -17,7 +17,7 @@ describe('fallbackToNetwork', () => {
fm.config.fallbackToNetwork = true;
fm.mock('http://mocked.com', 201);
expect(() => fm.fetchHandler('http://unmocked.com')).not.to.throw();
delete theGlobal.fetch
delete theGlobal.fetch;
});

it('actually falls back to network when configured globally', async () => {
Expand All @@ -28,7 +28,7 @@ describe('fallbackToNetwork', () => {
expect(res.status).to.equal(202);
fetchMock.restore();
fetchMock.config.fallbackToNetwork = false;
delete theGlobal.fetch
delete theGlobal.fetch;
});

it('actually falls back to network when configured in a sandbox properly', async () => {
Expand Down

0 comments on commit 838f667

Please sign in to comment.