Closed Belco90 closed 2 years ago
await-async-events 👌 Just wasted some time not knowing userEvents are async 😫
Just wasted some time not knowing userEvents are async 😫
Sorry to hear that! They are async only from v14 tho, they were sync before such version. We updated no-await-sync-events to reflect this, but we need to convert await-fire-event into await-async-events too.
Closing in favor of proper GitHub Project: https://github.com/orgs/testing-library/projects/14/views/1
This is just an umbrella ticket for keeping track of breaking changes for the next major version (v6):
no-manual-cleanup
in React and Vue shareable configs (we don't know if the test runner in the codebase has the necessary setup hooks tho, so it could be risky)no-global-regexp-flag-in-query
in all shareable configsno-await-sync-events
in DOM, Angular and React shareable configsno-node-access
in DOM shareable configno-debugging-utils
no-debugging-utils
from "error" to "warning"renderHook
utiluser-event
v14no-render-in-setup
tono-render-in-lifecycle
so it's not confused with preventing renders nested in a setup function.await-fire-event
intoawait-async-events
prefer-wait-for
rule, sincewait
,waitForElement
andwaitForDomChange
have been removed already<framework>-testing-library
modules, in favor of supporting only the testing-library scoped format (except for Marko)