Skip to content

How to use vi#mocked correctly? #853

Answered by sheremet-va
rn4n asked this question in Q&A
Discussion options

You must be logged in to vote

vi.mocked is just a type helper. You need to you vi.mock or vi.doMock to actually mock something.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rn4n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants