Update testing docs to reflect --grep syntax (#12400)
* Update testing docs to reflect --grep syntax * Use @zeke's suggestion to s/suites/tests/
This commit is contained in:
parent
f41cce96a3
commit
95cbd69e48
1 changed files with 4 additions and 4 deletions
|
@ -36,9 +36,9 @@ app (surprise!) that can be found in the `spec` folder. Note that it has
|
|||
its own `package.json` and that its dependencies are therefore not defined
|
||||
in the top-level `package.json`.
|
||||
|
||||
To run only a selected number of tests, run `npm run test -match=NAME`,
|
||||
replacing the `NAME` with the file name of the test suite you would like
|
||||
to run. As an example: If you want to run only IPC suites, you would run
|
||||
`npm run test -match=ipc`.
|
||||
To run only specific tests matching a pattern, run `npm run test --
|
||||
-g=PATTERN`, replacing the `PATTERN` with a regex that matches the tests
|
||||
you would like to run. As an example: If you want to run only IPC tests, you
|
||||
would run `npm run test -- -g ipc`.
|
||||
|
||||
[standard-addons]: https://standardjs.com/#are-there-text-editor-plugins
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue