You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jasmine
I wanted to test a function which have arguments type event. Inside the function it was checking whether the event object passed (lets say eventObj) eventObj.target.checked is true or not.
How to handle this in the spec file?
If I'm planning to call the function in spec file, Ho can I create a dummy object having dummyObj.target.checked as true, so that I can get inside the if condition.