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
npm test __tests__/filename.test.ts - to run a single file.
npm test __tests__/filename.test.ts
test.only('check single test', () => { expect(true).toBe(true)}); - to run a single test case
test.only('check single test', () => { expect(true).toBe(true)});
test.skip('to skip testcase, () => {expect(false).toBe(false_}); - to skip a test case
test.skip('to skip testcase, () => {expect(false).toBe(false_});