
jest
List of commands for jest:
-
jest:tldr:6b512 jest: Run test suites related to all uncommitted files.$ jest --onlyChangedtry on your machineexplain this command
-
jest:tldr:72586 jest: Run the test suites from the given files.$ jest ${filename1} ${filename2}try on your machineexplain this command
-
jest:tldr:9a638 jest: Run test suites related to a given source file.$ jest --findRelatedTests ${path-to-source_file-js}try on your machineexplain this command
-
jest:tldr:abca0 jest: Run the tests whose names match the given regular expression.$ jest --testNamePattern ${regular_expression}try on your machineexplain this command
-
jest:tldr:becde jest: Watch files for changes and automatically re-run related tests.$ jest --watchtry on your machineexplain this command