Skip to content

Commit

Permalink
Fix running command for webpack when karmaConfPath is absent in the test
Browse files Browse the repository at this point in the history
  • Loading branch information
sheetalkamat committed Sep 26, 2019
1 parent 3297a39 commit 62bfb2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/execution-tests/run-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function runTests(testName) {
console.log('running webpack compilation');
var webpackPath = path.resolve(__dirname, '../../node_modules/webpack/bin/webpack.js');
var program = debug ? 'node --inspect-brk=5858 ' + webpackPath : 'webpack';
execSync(webpackPath + ' --bail', { cwd: testPath, stdio: 'inherit' });
execSync(`${program} --bail`, { cwd: testPath, stdio: 'inherit' });
passingTests.push(testName);
}
}
Expand Down

0 comments on commit 62bfb2a

Please sign in to comment.