timdeschryver / timdeschryver.dev

https://timdeschryver.dev
55 stars 30 forks source link

If I use karma in angular, can I use msw to mock data? #326

Closed xcgs123 closed 7 months ago

timdeschryver commented 7 months ago

Yes you can @xcgs123 , MSW isn't tied to a test runner. To get started take at the examples, https://github.com/mswjs/examples/tree/main/examples/with-karma