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
I went looking for this exact same thing. I noticed in the react-testing-library there was some sort of solution to this. testing-library/react-testing-library#868 Is there a reason not to follow suite here in vue-testing-library?
The other reason I feel this is reasonable is that all the query functions returned from render assume they received an HTMLElement.
The following lines.
https://github.com/testing-library/vue-testing-library/blob/main/types/index.d.ts#L21-L22
I thought it would be more convenient to same as arguments like
findBy~~~
in query the HTMLElement type.https://github.com/testing-library/dom-testing-library/blob/main/types/queries.d.ts#L63
Is there any reason?
The text was updated successfully, but these errors were encountered: