8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49a120b commit 912b4f7Copy full SHA for 912b4f7
tests/e2e/tests/build/fail-build.ts
@@ -0,0 +1,9 @@
1
+import {ng} from '../../utils/process';
2
+import {expectToFail} from '../../utils/utils';
3
+import {deleteFile} from '../../utils/fs';
4
+
5
+export default function() {
6
+ return deleteFile('src/app/app.component.ts')
7
+ // This is supposed to fail since there's a missing file
8
+ .then(() => expectToFail(() => ng('build')));
9
+}
0 commit comments