Common ways to run tests:
npm test # Run all tests
npm test -- --watch # Watch mode (re-run on changes)
npm test -- myfile # Run tests matching 'myfile'
npm test -- -t 'add' # Run tests with 'add' in name
Watch mode is great during development. It re-runs relevant tests as you save files.