testing-library / jest-dom

:owl: Custom jest matchers to test the state of the DOM
https://testing-library.com/docs/ecosystem-jest-dom
MIT License
4.45k stars 401 forks source link

fix: Type definition of `toHaveClass` #611

Closed tonyhallett closed 4 months ago

tonyhallett commented 4 months ago

see https://github.com/testing-library/jest-dom/issues/605

What:

Typescript definition file

Why:

Duplicate identifier error.

How:

Correcting the definition.

Checklist:

Using suggested solution from issue poster @aliu-vmware

gnapse commented 4 months ago

@all-contributors please add @tonyhallett for bug

allcontributors[bot] commented 4 months ago

@gnapse

I've put up a pull request to add @tonyhallett! :tada:

github-actions[bot] commented 4 months ago

:tada: This PR is included in version 6.4.7 :tada:

The release is available on:

Your semantic-release bot :package::rocket: