We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab2a395 commit 4352a22Copy full SHA for 4352a22
tests/e2e/tests/commands/new/new-skip-commit.ts
@@ -0,0 +1,14 @@
1
+import {ng} from '../../../utils/process';
2
+import {createProject} from '../../../utils/project';
3
+import {expectToFail} from '../../../utils/utils';
4
+import {expectGitToBeClean} from '../../../utils/git';
5
+
6
7
+export default function() {
8
+ return Promise.resolve()
9
+ .then(() => createProject('new-project', '--skip-commit'))
10
+ .then(() => expectToFail(() => expectGitToBeClean()))
11
12
+ // Try to run the unit tests.
13
+ .then(() => ng('test', '--single-run'));
14
+}
0 commit comments