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

Commit 2545ddd

Browse files
committed
fix: this.skip needs to be under a function declaration
1 parent 3e95d89 commit 2545ddd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/src/files.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ module.exports = (common) => {
559559
})
560560
})
561561

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

565565
const offset = 1
@@ -589,7 +589,7 @@ module.exports = (common) => {
589589
}))
590590
})
591591

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

595595
const offset = 1
@@ -625,7 +625,7 @@ module.exports = (common) => {
625625
)
626626
})
627627

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

631631
const offset = 1

0 commit comments

Comments
 (0)