Setup generic test script command for nightwatch tests.

pull/5370/head
ioedeveloper 4 years ago
parent 11198537d3
commit 4b4e1c7229
  1. 3
      workspace.json

@ -100,9 +100,8 @@
"builder": "@nrwl/workspace:run-commands", "builder": "@nrwl/workspace:run-commands",
"options": { "options": {
"commands": [ "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 "parallel": false
} }
}, },

Loading…
Cancel
Save