react scripts test single file

Solutions on MaxInterview for react scripts test single file by the best coders in the world

showing results for - "react scripts test single file"
Oscar
29 Jan 2020
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});