Skip to content

Commit

Permalink
fix(misc): set default e2e test runner when creating angular and next…
Browse files Browse the repository at this point in the history
… workspaces (#16464)
  • Loading branch information
leosvelperez authored Apr 21, 2023
1 parent 88b9687 commit a421fce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/workspace/src/generators/preset/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function createPreset(tree: Tree, options: Schema) {
linter: options.linter,
standalone: options.standaloneApi,
routing: options.routing,
e2eTestRunner: options.e2eTestRunner,
e2eTestRunner: options.e2eTestRunner ?? 'cypress',
});
} else if (options.preset === Preset.AngularStandalone) {
const {
Expand Down Expand Up @@ -91,6 +91,7 @@ async function createPreset(tree: Tree, options: Schema) {
style: options.style,
linter: options.linter,
appDir: options.nextAppDir,
e2eTestRunner: options.e2eTestRunner ?? 'cypress',
rootProject: true,
});
} else if (options.preset === Preset.WebComponents) {
Expand Down

1 comment on commit a421fce

@vercel
Copy link

@vercel vercel bot commented on a421fce Apr 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-nrwl.vercel.app
nx-five.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx.dev

Please sign in to comment.