Mocking TypeScript class with Vitest
I designed a custom class in TypeScript that contains a method:
Testing with vitest returns AssertionError: expected “spy” to be called 1 times, but got 0 times
can someone explain why exactly the vitest below is failing given the implementation provided.
Vitest concurrent skippes it block
I am trying to run two it blocks in parallel