Answers for "jest create react app only run one test"

0

jest create react app only run one test

npm run test -- -t 'test-name'
Where test-name is the value used in the describe function in jest -

describe('test-name', () => {
  it('does something', () => { ... });
});
Posted by: Guest on June-13-2021
0

jest create react app only run one test

npm run test -- -t 'test-name'
Where test-name is the value used in the describe function in jest -

describe('test-name', () => {
  it('does something', () => { ... });
});
Posted by: Guest on June-13-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language