Open minikiller opened 3 years ago
I would suggest os isolate unit tests, do not try to test everything in the same test. I am not sure I understand your code here, it seems you are trying to test the store actions. You have multiple lines commented out. I only see one line of code that executes with await here: const result = await await(itemsStore.action(MutationType.items.loadItems))
Can you explainwhere are you using await two times?
I create a unit testing for items vuex action , it must have two await to get correct result. I don't know why. would you like to explain for me? thanks!