We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a7c01d commit 7a9d042Copy full SHA for 7a9d042
1 file changed
test/test-test.js
@@ -2,6 +2,7 @@ const sinon = require('sinon')
2
3
describe.only('Travis debug test', () => {
4
beforeEach(() => {
5
+ console.log('Stubbing fetch:', fetch)
6
sinon.stub(global, 'fetch').callsFake(() => Promise.resolve())
7
console.log('Stubbed fetch? ', fetch, !!fetch.restore)
8
console.log('Stubbed global.fetch? ', global.fetch, !!global.fetch.restore)
0 commit comments