Skip to content

Commit c25985e

Browse files
committed
fix(tests): use current package in e2e tests
1 parent ecd2cf1 commit c25985e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/e2e/e2e_workflow.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@ describe('Basic end-to-end Workflow', function () {
1818
it('Installs angular-cli correctly', function() {
1919
this.timeout(300000);
2020

21+
sh.exec('npm link', { silent: true });
2122
return tmp.setup('./tmp')
2223
.then(function () {
2324
process.chdir('./tmp');
24-
25-
sh.exec('npm i angular-cli -g -C ' + process.cwd(), { silent: true });
2625
expect(fs.existsSync(path.join(process.cwd(), 'bin', 'ng')));
2726
});
2827
});

0 commit comments

Comments
 (0)