Mocking a function that has a .then() after it causes error #6268
Unanswered
steven-twerdochlib
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've got the below mapAction:
And the following created() function:
I tried mocking the function storeFunction with the test below but I'm getting the error: Cannot read properties of undefined (reading 'then'):
Beta Was this translation helpful? Give feedback.
All reactions