mirror of https://github.com/CrimsonTome/tldr.git
jest: use the long name of commands
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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue