Closed
Description
The second round of issues I found while testing v4 beta:
- problem A:
Cannot read property 'properties' of undefined
from a jest config file when importing jest-dom
require('@testing-library/jest-dom')
// ...
foo()
- problem B:
prefer-user-event
shouldn't be included in any preset, sinceuser-event
might not be installed. In the future, it would be nice to detect ifuser-event
installed to auto-enable this rule. For now, it's better to leave out of all presets - problem C:
no-debug
should be set as "error" in presets, in the same way asno-console
is at "error" level oneslint:recommended
preset.