jest: add a command for running tests from files
This commit is contained in:

committed by
Agniva De Sarker

parent
5582d50b77
commit
b55af73957
@@ -7,6 +7,10 @@
|
|||||||
|
|
||||||
`jest`
|
`jest`
|
||||||
|
|
||||||
|
- Run tests from the test files that match the regex patterns:
|
||||||
|
|
||||||
|
`jest {{test_file1}} {{test_file2}}`
|
||||||
|
|
||||||
- Run tests whose names match the regex pattern:
|
- Run tests whose names match the regex pattern:
|
||||||
|
|
||||||
`jest -t {{spec_name}}`
|
`jest -t {{spec_name}}`
|
||||||
|
Reference in New Issue
Block a user