I have a hidden menu which appear when I click on the burger icon. I want to test the event handler with Jasmine. I am very new to Jasmine and I couldn't figure out how.
Here is my jQuery code:
menuIcon.on('click', function() {
        $('body').toggleClass('menu-hidden');
    });
Could you please help me?
 
    