From bdbb14fcd4dee256f883af4aaf44f0a26999e10a Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Fri, 15 Apr 2016 23:37:47 +0100 Subject: [PATCH] chore(e2e): simplify exec command --- tests/e2e/e2e_workflow.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/e2e_workflow.spec.js b/tests/e2e/e2e_workflow.spec.js index 842cc4796825..8e4587a20305 100644 --- a/tests/e2e/e2e_workflow.spec.js +++ b/tests/e2e/e2e_workflow.spec.js @@ -62,7 +62,7 @@ describe('Basic end-to-end Workflow', function () { // Can't user the `ng` helper because somewhere the environment gets // stuck to the first build done - sh.exec(`node_modules${path.sep}.bin${path.sep}ng build --environment=production --silent`); + sh.exec('ng build --environment=production --silent'); expect(existsSync(path.join(process.cwd(), 'dist'))).to.be.equal(true); var envPath = path.join(process.cwd(), 'dist', 'app', 'environment.js'); var envContent = fs.readFileSync(envPath, { encoding: 'utf8' });