Fix pipelines test script

This commit is contained in:
Daniel Imms
2019-05-26 13:25:05 -07:00
parent efee29d342
commit 746b0169a9
3 changed files with 6 additions and 6 deletions
+1 -2
View File
@@ -10,14 +10,13 @@ const path = require('path');
const env = { ...process.env };
env.NODE_PATH = path.resolve(__dirname, '../out');
const testPaths = [
const args = [
'./out/*test.js',
'./out/**/*test.js',
'./out/*integration.js',
'./out/**/*integration.js',
'./lib/**/*test.js'
];
const args = testPaths.map(p => `'${p}'`);
cp.spawnSync(path.resolve(__dirname, '../node_modules/.bin/mocha'), args, {
cwd: path.resolve(__dirname, '..'),