SyntaxFix
Write A Post
Hire A Developer
Questions
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_});