We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ng new --routing
1 parent e6ae588 commit 27a3651Copy full SHA for 27a3651
tests/e2e/tests/commands/new/new-routing.ts
@@ -0,0 +1,13 @@
1
+import * as path from 'path';
2
+import {ng} from '../../../utils/process';;
3
+import {getGlobalVariable} from '../../../utils/env';
4
+
5
+export default function() {
6
+ return Promise.resolve()
7
+ .then(() => process.chdir(getGlobalVariable('tmp-root')))
8
+ .then(() => ng('new', 'routing-project', '--routing'))
9
+ .then(() => process.chdir(path.join('routing-project')))
10
11
+ // Try to run the unit tests.
12
+ .then(() => ng('test', '--single-run'));
13
+}
0 commit comments