Skip to content

Commit 37a4edd

Browse files
committed
Debug travis test issues
1 parent 7a9d042 commit 37a4edd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/test-test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ const sinon = require('sinon')
22

33
describe.only('Travis debug test', () => {
44
beforeEach(() => {
5-
console.log('Stubbing fetch:', fetch)
5+
// console.log('Stubbing fetch:', fetch)
6+
expect(fetch).to.be.a('function')
67
sinon.stub(global, 'fetch').callsFake(() => Promise.resolve())
78
console.log('Stubbed fetch? ', fetch, !!fetch.restore)
89
console.log('Stubbed global.fetch? ', global.fetch, !!global.fetch.restore)

0 commit comments

Comments
 (0)