We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 048366b commit 8872205Copy full SHA for 8872205
packages/schematics/angular/application/index.ts
@@ -274,10 +274,8 @@ export default function (options: ApplicationOptions): Rule {
274
name: `${options.name}-e2e`,
275
relatedAppName: options.name,
276
rootSelector: appRootSelector,
277
+ projectRoot: newProjectRoot ? `${newProjectRoot}/e2e` : 'e2e',
278
};
- if (options.projectRoot !== undefined) {
279
- e2eOptions.projectRoot = 'e2e';
280
- }
281
282
return chain([
283
addAppToWorkspaceFile(options, workspace),
0 commit comments