diff --git a/docs/cli/building-the-app.md b/docs/cli/building-the-app.md
index 1bba83a9..8e766a41 100644
--- a/docs/cli/building-the-app.md
+++ b/docs/cli/building-the-app.md
@@ -22,7 +22,7 @@ Before the app can be tested, it must be built.
```bash
-npm run owl build -- --platform ios --config ./owl.config.json
+npx owl build --platform ios --config ./owl.config.json
```
diff --git a/docs/cli/testing-the-app.md b/docs/cli/testing-the-app.md
index d6aa9cc2..19267fae 100644
--- a/docs/cli/testing-the-app.md
+++ b/docs/cli/testing-the-app.md
@@ -41,7 +41,7 @@ The baseline images will be automatically generated. To regenerate the baseline
```bash
-npm run owl test -- --platform ios
+npx owl test --platform ios
```
@@ -62,7 +62,7 @@ Update the baseline images
```bash
-npm run owl test -- --platform ios --update
+npx owl test --platform ios --update
```
@@ -83,7 +83,7 @@ Update the baseline images
```bash
-npm run owl test -- --platform ios --config ./owl.config.json
+npx owl test --platform ios --config ./owl.config.json
```
diff --git a/docs/introduction/getting-started.md b/docs/introduction/getting-started.md
index e383f08d..3311bfa8 100644
--- a/docs/introduction/getting-started.md
+++ b/docs/introduction/getting-started.md
@@ -28,7 +28,7 @@ Below you can find an example config (can also be found in the [example app](htt
},
"android": {
"packageName": "com.owldemo"
- },
+ }
}
```
@@ -47,9 +47,7 @@ describe('App.tsx', () => {
expect(screen).toMatchBaseline();
});
-});
-describe('App.tsx', () => {
it('presses a button, then takes a screenshot', async () => {
await press('button')
@@ -68,7 +66,7 @@ Before the app can be tested, it must be built.
```bash
-npm run owl build -- --platform ios
+npx owl build --platform ios
```
@@ -100,7 +98,7 @@ Test against the baseline images (will create the baseline images if they don't
```bash
-npm run owl test -- --platform ios
+npx owl test --platform ios
```
@@ -119,7 +117,7 @@ Update the baseline images
```bash
-npm run owl test -- --platform ios --update
+npx owl test --platform ios --update
```