Setup generic test script command for nightwatch tests.

pull/343/head
ioedeveloper 4 years ago
parent 2c8e441690
commit c6d91e99a5
  1. 3
      workspace.json

@ -100,9 +100,8 @@
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": [
"tsc -p apps/remix-ide-e2e/tsconfig.e2e.json"
"TEST_SCRIPT='node_modules/.bin/nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js'; if [ {args.env} != undefined ]; then TEST_SCRIPT=${TEST_SCRIPT}' --env {args.env}'; else TEST_SCRIPT=${TEST_SCRIPT}' --env chrome'; fi; if [ {args.filePath} != undefined ]; then TEST_SCRIPT=${TEST_SCRIPT}' {args.filePath}'; fi; echo $TEST_SCRIPT; node_modules/.bin/tsc -p apps/remix-ide-e2e/tsconfig.e2e.json; eval $TEST_SCRIPT;"
],
"cwd": ".",
"parallel": false
}
},

Loading…
Cancel
Save