mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-08 15:55:55 +02:00
jest: add a command for running tests from files
This commit is contained in:
parent
5582d50b77
commit
b55af73957
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@
|
|||
|
||||
`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:
|
||||
|
||||
`jest -t {{spec_name}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue