Brendan Whiting
Brendan Whiting
I'm not sure if I'm on the right track with this, or is this helps anyone else, but I had the same problem and solved it by using the `doReturn().when()`...
> @Tallyb The event emitter is actually really easy to mock. This will at least get you around the issue: > > ``` > it('should test something', () => {...
I got this error because I had overlooked that I was not properly importing the module: ``` const expressJwt = require('') ``` oops...