You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Going forward, there should be a better way to stub methods like this. I'll add a feature request label. If anyone has suggestions for an API, I'd love to hear them 😃
Hello,
When I try to mock a methods with
setMethods
to prevent api call it works only when the function is called after mount.example:
index.vue:
test.spec.js
It still get
WARN [web-server]: 404: /api/items
Any advice?
The text was updated successfully, but these errors were encountered: