CmdID

CmdID / Commands

jest

A zero-configuration JavaScript testing platform. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Run all available tests

Run the test suites from the given files

jest path/to/file1 path/to/file2 ...Identify

Run the test suites from files within the current and subdirectories, whose paths match the given regex

jest regex1 regex2 ...Identify

Run the tests whose names match the given regex

jest --testNamePattern regexIdentify

Run test suites related to a given source file

jest --findRelatedTests path/to/source_file.jsIdentify

Run test suites related to all uncommitted files

jest --onlyChangedIdentify

Watch files for changes and automatically re-run related tests

jest --watchIdentify

Display help

jest --helpIdentify