jest: use the long name of commands
This commit is contained in:

committed by
Agniva De Sarker

parent
b55af73957
commit
02ba9c170f
@@ -13,11 +13,11 @@
|
|||||||
|
|
||||||
- Run tests whose names match the regex pattern:
|
- Run tests whose names match the regex pattern:
|
||||||
|
|
||||||
`jest -t {{spec_name}}`
|
`jest --testNamePattern {{spec_name}}`
|
||||||
|
|
||||||
- Run tests related to uncommitted files:
|
- Run tests related to uncommitted files:
|
||||||
|
|
||||||
`jest -o`
|
`jest --onlyChanged`
|
||||||
|
|
||||||
- Watch files for changes and re-run related tests:
|
- Watch files for changes and re-run related tests:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user