Do you want to request a feature or report a bug?
bug (usability issue)
What is the current behavior?
expect(1===2) does not cause test to fail.
What is the expected behavior?
Throw an error so the programmer knows they're doing it wrong.
eslint-plugin-jest 19.1 (will be released later this week) will have a lint rule that will warn for this use-case.
you can install eslint-plugin-jest@next for now.
Most helpful comment
eslint-plugin-jest 19.1 (will be released later this week) will have a lint rule that will warn for this use-case.