testing-library / dom-testing-library

🐙 Simple and complete DOM testing utilities that encourage good testing practices.
https://testing-library.com/dom
MIT License
3.28k stars 467 forks source link

fix(role-helpers): refine logRoles fn types #1249

Closed naorpeled closed 1 year ago

naorpeled commented 1 year ago

What:

Increased the TS coverage of the logRoles and prettyRoles functions in the role helpers file, at the moment cases with hidden = true option were not covered.

Why:

To further understand the scope of #1201 I've added these defs, I think it's good to have them in the repo.

Checklist:

MatanBobi commented 1 year ago

@all-contributors please add @naorpeled for code :)

allcontributors[bot] commented 1 year ago

@MatanBobi

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