Skip to content

Commit 7a9d042

Browse files
committed
Debug travis test issues
1 parent 0a7c01d commit 7a9d042

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/test-test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ const sinon = require('sinon')
22

33
describe.only('Travis debug test', () => {
44
beforeEach(() => {
5+
console.log('Stubbing fetch:', fetch)
56
sinon.stub(global, 'fetch').callsFake(() => Promise.resolve())
67
console.log('Stubbed fetch? ', fetch, !!fetch.restore)
78
console.log('Stubbed global.fetch? ', global.fetch, !!global.fetch.restore)

0 commit comments

Comments
 (0)