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
Looking at writing tests for Popover, i definitely think this is a good idea. So many of the tests for ModalCurtain are just for testing the ESC functionality. We can make those generic tests for the utility function, rather than copying them for every component that has that behaviour
ModalCurtain already has a couple of these as subcomponents. They could be rewritten to use React Hooks with their own unit tests.
Some code we could share between Modal, Popover and Tooltip
The text was updated successfully, but these errors were encountered: