I have a test \'works with nested children\' within the file fix-order-test.js.
Running the below runs all the tests in the file.
jest fix-order-test
Just a little add-on, because it seems there was kind of a fight if to use ./node_modules/.bin/jest -i ... or just jest -i ... or npm test -- -i ...
jest works if you have it installed globally (as with npm install -g jest), a not-so-clean way of handling dependenciesnpx jest -i ... => this is exactly what npx is for. It saves you from writing ./node_modules/.bin/....