-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from wheresrhys/bugfixes
Bugfixes
- Loading branch information
Showing
10 changed files
with
319 additions
and
354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
'use strict'; | ||
|
||
var FetchMock = require('./src/fetch-mock'); | ||
const FetchMock = require('./src/fetch-mock'); | ||
|
||
module.exports = new FetchMock({ | ||
theGlobal: window, | ||
Response: window.Response, | ||
Headers: window.Headers, | ||
Blob: window.Blob | ||
Blob: window.Blob, | ||
debug: function () {} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
'use strict'; | ||
|
||
var Response = require('node-fetch').Response; | ||
var Headers = require('node-fetch').Headers; | ||
var stream = require('stream'); | ||
var FetchMock = require('./src/fetch-mock'); | ||
const Response = require('node-fetch').Response; | ||
const Headers = require('node-fetch').Headers; | ||
const stream = require('stream'); | ||
const FetchMock = require('./src/fetch-mock'); | ||
|
||
module.exports = new FetchMock({ | ||
theGlobal: GLOBAL, | ||
Response: Response, | ||
Headers: Headers, | ||
stream: stream | ||
stream: stream, | ||
debug: require('debug')('fetch-mock') | ||
}); |
Oops, something went wrong.