From fc8a4787c5b1eec79541682e2c627d005ff6fa9f Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Thu, 19 May 2016 18:17:35 +0100 Subject: [PATCH] feat(test): use link-cli option on e2e --- tests/e2e/e2e_workflow.spec.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/e2e/e2e_workflow.spec.js b/tests/e2e/e2e_workflow.spec.js index a9be368dcb17..d05c94939cc2 100644 --- a/tests/e2e/e2e_workflow.spec.js +++ b/tests/e2e/e2e_workflow.spec.js @@ -47,17 +47,14 @@ describe('Basic end-to-end Workflow', function () { it('Can create new project using `ng new test-project`', function () { this.timeout(4200000); - return ng(['new', 'test-project', '--skip-npm']).then(function () { + return ng(['new', 'test-project', '--link-cli=true']).then(function () { expect(existsSync(path.join(root, 'test-project'))); }); }); it('Can change current working directory to `test-project`', function () { - this.timeout(420000); process.chdir(path.join(root, 'test-project')); - sh.exec('npm link angular-cli', { silent: true }); expect(path.basename(process.cwd())).to.equal('test-project'); - sh.exec('npm install'); }); it('Supports production builds via `ng build --environment=production`', function() {