jest create react app only run one test

Solutions on MaxInterview for jest create react app only run one test by the best coders in the world

showing results for - "jest create react app only run one test"
Maria José
25 Jun 2019
1npm run test -- -t 'test-name'
2Where test-name is the value used in the describe function in jest -
3
4describe('test-name', () => {
5  it('does something', () => { ... });
6});