Problem with mocking the Loader in Jest #643
Labels
triage me
I really want to be triaged.
type: question
Request for information or clarification. Not an issue.
I'm trying to mock the Loader in Jest so I can test if loader.load() method is being invoked in my code.
I've tried with:
But during the test invocation is fails with loader.load is not a function. Any idea how to mock it successfully?
The text was updated successfully, but these errors were encountered: