Skip to content

Commit

Permalink
quote test folder path
Browse files Browse the repository at this point in the history
Redo #1083
  • Loading branch information
Daniel Schmidt committed Jan 29, 2019
1 parent 9c401ca commit b189264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detox/local-cli/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ module.exports.handler = function main(program) {
const platformString = platform ? shellQuote(`--testNamePattern=^((?!${getPlatformSpecificString(platform)}).)*$`) : '';
const binPath = path.join('node_modules', '.bin', 'jest');
const color = program.color ? '' : ' --no-color';
const command = `${binPath} ${testFolder} ${configFile}${color} --maxWorkers=${program.workers} ${platformString} ${collectExtraArgs()}`;
const command = `${binPath} "${testFolder}" ${configFile}${color} --maxWorkers=${program.workers} ${platformString} ${collectExtraArgs()}`;
const detoxEnvironmentVariables = {
configuration: program.configuration,
loglevel: program.loglevel,
Expand Down

0 comments on commit b189264

Please sign in to comment.