Is there a way to make the expect() mandatory for all test cases? If the programmer doesn't put expect it should throw some warning/error. I am using Jest and @testing-library/react.
For example:
Should work fine:
test('Should work file',()=>{ ...code... expect(value).toBe(expectedValue) })Should throw error/warning:
test('Should fail',()=>{ ...code... })