diff --git a/types/testing-library__vue/testing-library__vue-tests.ts b/types/testing-library__vue/testing-library__vue-tests.ts index 6a479a116a47dea..76f78bbabe366fc 100644 --- a/types/testing-library__vue/testing-library__vue-tests.ts +++ b/types/testing-library__vue/testing-library__vue-tests.ts @@ -132,8 +132,8 @@ lib.wait(() => { throw new Error("nope"); }, {timeout: 3000, interval: 100}); lib.waitForDomChange({container: select, timeout: 3000, mutationObserverOptions: {subtree: false}}); lib.waitForElement(() => input); // $ExpectType Promise lib.waitForElement(() => option, {container: select, timeout: 3000, mutationObserverOptions: {subtree: false}}); // $ExpectType Promise -lib.waitForElementToBeRemoved(() => input); // $ExpectType Promise -lib.waitForElementToBeRemoved(() => option, {container: select, timeout: 3000, mutationObserverOptions: {subtree: false}}); // $ExpectType Promise +lib.waitForElementToBeRemoved(() => input); // $ExpectType Promise +lib.waitForElementToBeRemoved(() => option, {container: select, timeout: 3000, mutationObserverOptions: {subtree: false}}); // $ExpectType Promise // Reexports utilities from dom-testing-library lib.buildQueries((el: HTMLElement) => [el], (_: HTMLElement) => "something", (_: HTMLElement) => "error");