Skip to content

Commit

Permalink
fix(react-native): fix normalizing e2e project name and root
Browse files Browse the repository at this point in the history
  • Loading branch information
leosvelperez committed Aug 22, 2023
1 parent 48e775e commit 8f9d582
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ export async function addDetox(host: Tree, options: NormalizedSchema) {
return detoxApplicationGenerator(host, {
...options,
linter: Linter.EsLint,
e2eName: `${options.name}-e2e`,
e2eDirectory: options.directory,
e2eName: `${options.projectName}-e2e`,
e2eDirectory: `${options.appProjectRoot}-e2e`,
projectNameAndRootFormat: 'as-provided',
appProject: options.projectName,
appDisplayName: options.displayName,
appName: options.name,
Expand Down

0 comments on commit 8f9d582

Please sign in to comment.