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
Not really familiar with any easy way to do unit tests that emulate keyboard presses. But you could probably create a mock hotkeysService that you inject into your component or service and verify that the hotkeys you expect are registered. I think that's the best option I can think of at the moment.
How can I unit test this piece of code? I cannot find any example on how I can unit test this:
The text was updated successfully, but these errors were encountered: