Pinned Tweet
The next chapter of MSW is here!
I'm excited to announce MSW v3.0! ๐ฅณ
- Leaner dependency graph and smaller size;
- ESM-only;
- Granular entrypoints;
- GraphQL subscriptions;
- Socket-based network interception in Node.js;
- And much more!
mswjs.io/blog/introducing-msโฆ
Mock Service Worker ๐บ๐ฆ retweeted
It surprises me how many developers miss the point that you can (and should) generate your handlers in MSW from actual API contracts, like OpenAPI! That *is* the way to drift-free mocking.
Please spread the word: mswjs.io/ecosystem/source/
Thank you.
Mock Service Worker ๐บ๐ฆ retweeted
I am beyond thrilled to welcome @beehiiv as MSW partner! Their support makes sure I can keep working on better API mocking for everyone. Thank you โค๏ธ
Mock Service Worker ๐บ๐ฆ retweeted
Integrating MSW into Vite-based projects has become silly simple with the new "msw/vite" plugin! And yes, this works with Vitest, too.
The plugin integrates MSW client and server-side and keeps the worker script up-to-date for you, automatically.
Mock Service Worker ๐บ๐ฆ retweeted
Realized I forgot to add the GraphQL subscriptions docs ๐คฆโโ๏ธ Injustice fixed. I present to you the beauty which is mocking GraphQL subscriptions: mswjs.io/docs/graphql/intercโฆ
Help shape the future of API mocking on the web.
With MSW 3.0 released this week, I want to try something new to make the project financially sustainable. I wrote an open letter about the project, its history, and impact on the ecosystem.
I ask for five minutes of your time to read it. Thank you.
mswjs.io/sponsor
Mock Service Worker ๐บ๐ฆ retweeted
Come learn tips and tricks of efficient component testing in Vitest from me next week!
- Learn how JSDOM works under the hood.
- Migrate your tests from JSDOM to Vitest.
- Discover how Vitest replaces RTL.
Get your tickets ๐
frontkon.tech/events/frontkoโฆ
Mock Service Worker ๐บ๐ฆ retweeted
You don't have to sponsor to help.
Consider nominating MSW for the Open Source Endowement fund: endowment.dev/funding/
Thank you!
I am losing roughly $800 a month by working on MSW full-time while it's one of the most used projects in the ecosystem. Please, if MSW provides you any value, consider becoming a sponsor. I mean it when I say every contribution counts.
Thank you โค๏ธ
github.com/sponsors/mswjs
MSW has changed the way everybody mocks their APIs. Please help us make the project sustainable.
I am losing roughly $800 a month by working on MSW full-time while it's one of the most used projects in the ecosystem. Please, if MSW provides you any value, consider becoming a sponsor. I mean it when I say every contribution counts.
Thank you โค๏ธ
github.com/sponsors/mswjs
Mock Service Worker ๐บ๐ฆ retweeted
Come learn component testing from me in person! Accessibility-first, beautifully set up, and running in a real browser with Vitest. One of my best selling workshops on Epic Web now live.
๐ October 5th, 9:00
๐จ๐ฟ Prague
More info: frontkon.tech/events/frontkoโฆ
Mock Service Worker ๐บ๐ฆ retweeted
MSW add-on for Storybook is downloaded 1,539,807 times per week! That makes it one of the most used add-ons in the entire Storybook ecosystem. Pretty wild.
And with the latest release, it's the best way to mock the network in your stories, too.
github.com/mswjs/msw-storyboโฆ
Mock Service Worker ๐บ๐ฆ retweeted
If you let your agent write component tests for you, you're in BIG trouble. Why? Because agents were trained on prehistoric tests still using JSDOM.
Yikes ๐คข
Join me on ๐ October 5th in ๐จ๐ฟ Prague for a live workshop to learn component testing in the real browser with Vitest.
Mock Service Worker ๐บ๐ฆ retweeted
Just got MSW CI builds from 10m to 1m thanks to @useblacksmith. Absolutely insane, look at this.
Also a significant boost after migrating most tests from Playwright to Vitest Browser Mode. It proves times faster for me in every project.
Mock Service Worker ๐บ๐ฆ retweeted
MSW hits another big milestone: 200,000 repositories on GitHub depend on it for their tests and development. Thank you for choosing tools made with care โค๏ธ
Mock Service Worker ๐บ๐ฆ retweeted
May I have 1 minute of your time?
You will not regret it. This is THE testing video I want you all to see. Might be hands-down the best video I've ever recorded.
Mock Service Worker ๐บ๐ฆ retweeted
Huge news to Storybook developers using MSW: version 3.0 of our add-on has just been released! ๐
github.com/mswjs/msw-storyboโฆ
This brings a new architecture to support both CSF3 and CSF4, fix some long-standing issues, become dependency-free, and a ton more.
Please help us make v3.0 better: vote on this.
If you're using MSW (@ApiMocking) in @reactnative, would you prefer "msw/native" to automatically include all the necessary polyfills for it to run? (e.g. URL, streams, etc).
61%Yes
39%No
28 votes โข Final results









