You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
migrate plugin to typescript-eslint (#121) (3439a29). This is not actually adding any new feature to the plugin but we wanted to bump a minor version here so the migration can be noticed properly.
import{render,waitFor}from'@testing-library/dom';async()=>{render(<SomeComponent/>);// `wait` without callback is replaced with `waitFor` with empty callbackawaitwaitFor(()=>{});// `wait` with some callback is replaced with `waitFor` keeping same callbackawaitwaitFor(()=>expect(screen.getByText('submit')).not.toBeInTheDocument());// same for `waitForElement`awaitwaitFor(()=>{});// same for `waitForDomChange`awaitwaitFor(()=>{});// `waitForDomChange` options are passed as 2nd arg to `waitFor`awaitwaitFor(()=>{},{timeout: 100});};
BREAKING CHANGES
drop support for node v8. Min version allowed is node v10.12 (#96)
rule no-get-by-for-checking-element-not-present removed in favor of new rule prefer-presence-queries (#98)