Skip to content

Commit 301337d

Browse files
committed
fix(): npm link on the exported scaffold to use the master version.
1 parent ecd2cf1 commit 301337d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/e2e/e2e_workflow.spec.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,15 @@ describe('Basic end-to-end Workflow', function () {
4646

4747
it('Can run `ng build` in created project', function() {
4848
this.timeout(10000);
49+
sh.exec('npm link');
4950

5051
return ng([
5152
'build',
5253
'--silent'
5354
]).then(function() {
5455
expect(fs.existsSync(path.join(process.cwd(), 'dist')));
56+
}).catch(function() {
57+
fail();
5558
});
5659
});
5760

0 commit comments

Comments
 (0)