docs(test-runner): remove npx in npm scripts (#7931)

This commit is contained in:
방성범 (Bang Seongbeom) 2021-08-02 18:04:13 +09:00 committed by GitHub
parent af30d267b6
commit e7ac7eb50c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -464,7 +464,7 @@ Configure NPM script to run tests. Playwright Test will automatically pick up `p
```json ```json
{ {
"scripts": { "scripts": {
"test": "npx playwright test" "test": "playwright test"
} }
} }
``` ```
@ -474,7 +474,7 @@ If you put your configuration file in a different place, pass it with `--config`
```json ```json
{ {
"scripts": { "scripts": {
"test": "npx playwright test --config=tests/example.config.js" "test": "playwright test --config=tests/example.config.js"
} }
} }
``` ```