mirror of https://github.com/CrimsonTome/tldr.git
25 lines
365 B
Markdown
25 lines
365 B
Markdown
# jest
|
|
|
|
> A zero-configuration JavaScript testing platform.
|
|
> More information: <https://jestjs.io>.
|
|
|
|
- Run all tests:
|
|
|
|
`jest`
|
|
|
|
- Run tests whose names match the regex pattern:
|
|
|
|
`jest -t {{spec_name}}`
|
|
|
|
- Run tests related to uncommitted files:
|
|
|
|
`jest --onlyChanged`
|
|
|
|
- Watch files for changes and re-run related tests:
|
|
|
|
`jest --watch`
|
|
|
|
- Show help:
|
|
|
|
`jest --help`
|