Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix misleading filepaths for DetoxTest.java in project-setup.mdx #4287

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions docs/introduction/project-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ patch or create if they are missing:
* `android/build.gradle`
* `android/app/build.gradle`
* **Native test code:**
* `android/app/src/androidTest/java/com/<your.package>/DetoxTest.java`
* `android/app/src/androidTest/java/DetoxTest.java`
* **Manifests:**
* `android/app/src/main/AndroidManifest.xml`
* `android/app/src/main/res/xml/network_security_config.xml`
Expand Down Expand Up @@ -249,10 +249,9 @@ run tests with your app built in **release mode**.
Detox requires that your project has a single dummy native Android test with some special content,
which will be picked up by `testRunner` that you just added in the previous step, so let's create it now.

Copy the snippet below to create a file under the following path (where `<your.package>` is your actual
package name):
Copy the snippet below to create a file under the following path:

```java title="android/app/src/androidTest/java/com/<your.package>/DetoxTest.java" showLineNumbers
```java title="android/app/src/androidTest/java/DetoxTest.java" showLineNumbers
// highlight-next-line
package com.<your.package>; // (1)

Expand Down