Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

naorpeled
Copy link
Contributor

@naorpeled naorpeled commented Aug 12, 2023

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:

  • Documentation added to the
    docs site
  • Tests
  • TypeScript definitions updated
  • Ready to be merged

@naorpeled naorpeled force-pushed the feat/role-helpers/improve-types branch from f5e969f to 6d810dd Compare August 12, 2023 13:07
@MatanBobi MatanBobi changed the title feat(role-helpers): refine logRoles fn types fix(role-helpers): refine logRoles fn types Sep 3, 2023
Copy link
Member

@MatanBobi MatanBobi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks :)

@MatanBobi MatanBobi merged commit 5e03343 into testing-library:main Sep 3, 2023
3 of 5 checks passed
@MatanBobi
Copy link
Member

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

@allcontributors
Copy link
Contributor

@MatanBobi

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

@naorpeled naorpeled deleted the feat/role-helpers/improve-types branch September 3, 2023 11:57
@eps1lon eps1lon mentioned this pull request Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants