From 563af2827503b4292be850a55c067981f7f03505 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Mon, 23 Apr 2018 16:15:12 +0100 Subject: [PATCH] chore: Use normal functions so this.skip has the correct context --- js/src/files.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/src/files.js b/js/src/files.js index 9049ef229..f47ffac1e 100644 --- a/js/src/files.js +++ b/js/src/files.js @@ -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 @@ -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 @@ -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