Appearance
Testing in --watch mode
In most UI testing libraries, the --watch option is often supported. Under this mode, the framework will continuously look for files changed and run the relevant tests based on these files.
In Jest:
jest --watchYou can also --watch and rerun for specific test files ``
jest --watch path/to/your/file.test.js