logaretm / villus

🏎 A tiny and fast GraphQL client for Vue.js

Home Page:https://villus.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: Villus with Mock Service Worker (msw)

JarvisH opened this issue · comments

Does Villus work with mock service worker? I tried it out, but msw did not intercept any requests.

Yep, villus own tests are written with MSW. You may face some difficulties intercepting batched requests because MSW does not support them but check villus tests for a workaround if you are using batch plugin.