Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
fix: this.skip needs to be under a function declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Apr 23, 2018
1 parent 3e95d89 commit 2545ddd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/src/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ module.exports = (common) => {
})
})

it('exports a chunk of a file', (done) => {
it('exports a chunk of a file', function (done) {
if (withGo) { this.skip() }

const offset = 1
Expand Down Expand Up @@ -589,7 +589,7 @@ module.exports = (common) => {
}))
})

it('exports a chunk of a file in a ReadableStream', (done) => {
it('exports a chunk of a file in a ReadableStream', function (done) {
if (withGo) { this.skip() }

const offset = 1
Expand Down Expand Up @@ -625,7 +625,7 @@ module.exports = (common) => {
)
})

it('exports a chunk of a file in a PullStream', (done) => {
it('exports a chunk of a file in a PullStream', function (done) {
if (withGo) { this.skip() }

const offset = 1
Expand Down

0 comments on commit 2545ddd

Please sign in to comment.