diff --git a/tests/e2e/e2e_workflow.spec.js b/tests/e2e/e2e_workflow.spec.js index 00a81ca039d2..7a15d9a18fc8 100644 --- a/tests/e2e/e2e_workflow.spec.js +++ b/tests/e2e/e2e_workflow.spec.js @@ -46,12 +46,15 @@ describe('Basic end-to-end Workflow', function () { it('Can run `ng build` in created project', function() { this.timeout(10000); + sh.exec('npm link'); return ng([ 'build', '--silent' ]).then(function() { expect(fs.existsSync(path.join(process.cwd(), 'dist'))); + }).catch(function() { + fail(); }); });