Skip to content

Commit 85d1400

Browse files
committed
feat(test): use link-cli option on e2e (#841)
1 parent 234de2b commit 85d1400

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/e2e/e2e_workflow.spec.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,14 @@ describe('Basic end-to-end Workflow', function () {
4747
it('Can create new project using `ng new test-project`', function () {
4848
this.timeout(4200000);
4949

50-
return ng(['new', 'test-project', '--skip-npm']).then(function () {
50+
return ng(['new', 'test-project', '--link-cli=true']).then(function () {
5151
expect(existsSync(path.join(root, 'test-project')));
5252
});
5353
});
5454

5555
it('Can change current working directory to `test-project`', function () {
56-
this.timeout(420000);
5756
process.chdir(path.join(root, 'test-project'));
58-
sh.exec('npm link angular-cli', { silent: true });
5957
expect(path.basename(process.cwd())).to.equal('test-project');
60-
sh.exec('npm install');
6158
});
6259

6360
it('Supports production builds via `ng build --environment=production`', function() {

0 commit comments

Comments
 (0)