Fix bad return when skipping tests

This commit is contained in:
murgatroid99 2019-04-25 09:29:54 -07:00
parent 42d9658283
commit 39f5e89ee1
1 changed files with 1 additions and 1 deletions

View File

@ -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) => {