mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs(test-runner): remove npx in npm scripts (#7931)
This commit is contained in:
parent
af30d267b6
commit
e7ac7eb50c
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user