[Vuejs]-Jasmine spyOn applied to a method. A vue-test-utils async function is awaited. Now, the method is no longer a Jasmine spy. Why?

0👍

My coworker pulled my code it worked. The test passed. The function (spy) was invoked.

So, I restarted my computer.

Now, it works.

I wish I could say more about why it just wasn’t working before.

Leave a comment