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.
ng new --routing
1 parent cc90936 commit 8189d8fCopy full SHA for 8189d8f
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