Ernesto García

Results 235 comments of Ernesto García

Hey, good to understand the use case a bit more. However, as you acknowledge to understand, we cannot change the name of the matcher for this. It already even says...

So why does the type in that documentation is `HTMLElement`? I think a comment or text node is not something that could be of type `HTMLElement`. Anyway, at this point...

Comments are not elements, they are nodes. And this matcher, for better or worse, was designed to target html elements. It used to be called `.toBeEmpty()` and we needed to...

Thanks for reporting this. I have to say, I see this more as a problem with jest than with jest-dom, if really the solution involves duplicating the code that extends...

I looked into this, and I'm as baffled as you are. I added this test inside the test file for `to-have-text-content.js` in this repo: ```js test.only('with a number formatter', ()...

Can you provide a minimal repo where this can be reproduced?

Usually there have been more difficulty with our repo than with other libs in the testing-library org because unlike other libs, this one is not used via direct imports. That...

I gotta say, the barrier of entry to contribute types via having to do it in `DefinitelyTyped/DefinitelyTyped` is huge. I love TS, and I can barely drag myself to do...

cc @testing-library/all-maintainers in case someone has some ideas on how to pull this off.

We may attempt it again, but the main reason we moved the type definitions from being inside the repo was #123. There were also issues with actually writing the code...