Skip to content

Commit

Permalink
fix(expo): 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 735d084 commit 2100df5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/expo/src/generators/application/lib/add-detox.ts
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 2100df5

Please sign in to comment.