From 39f5e89ee1ab7fafff66c3361e3033c0d16635dd Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Thu, 25 Apr 2019 09:29:54 -0700 Subject: [PATCH] Fix bad return when skipping tests --- test/gulpfile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gulpfile.ts b/test/gulpfile.ts index c903675f..b6904df7 100644 --- a/test/gulpfile.ts +++ b/test/gulpfile.ts @@ -36,7 +36,7 @@ const test = () => { // returning the associated gulp stream if (!semver.satisfies(process.version, '>=9.4')) { console.log(`Skipping cross-implementation tests for Node ${process.version}`); - return; + return Promise.resolve(); } const apiTestGlob = `${apiTestDir}/*.js`; const runTestsWithFixture = (server, client) => new Promise((resolve, reject) => {