Skip to content

Commit bc20b83

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

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/e2e/e2e_workflow.spec.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,17 @@ describe('Basic end-to-end Workflow', function () {
4444
expect(path.basename(process.cwd())).to.equal('test-project');
4545
});
4646

47-
it('Can run `ng build` in created project', function() {
47+
it.only('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)