user avatar
Mock Service Worker ๐Ÿ‡บ๐Ÿ‡ฆ
@ApiMocking
Industry standard API mocking for JavaScript.
Joined June 2020
  • Pinned
    user avatar
    The biggest change. The brightest change. Available for everyone to use. Migrate today and enjoy standard-driven API mocking!
    ๐ŸŽ‰ Announcing MSW 2.0! ๐ŸŽ‰ ๐ŸŒŽ Migration guidelines: mswjs.io/docs/migrationโ€ฆ ๐Ÿ“ฐ Release notes: github.com/mswjs/msw/releโ€ฆ 365+ days in development, 200+ commits, 40+ contributors involved. The future of API mocking is here, and it has never been brighter.
    MSW 2.0.0 announcement banner.
  • user avatar
    Try the future of MSW today! The beta release with Fetch API support is out and we're looking for your feedback. ๐Ÿ‘‰ How to use: github.com/mswjs/msw/discโ€ฆ #javascript #mswjs #api #frontend #backend
    Two code snippets: one using the current version of MSW's API, the other using the next version featuring first-class Fetch API support.
  • user avatar
    Incredible! ๐Ÿ˜ณ Weโ€™ve passed the point of 1M weekly downloads! One million โ€œnpm install mswโ€ every week. Woah. #javascript #testing #api #mswjs
    MSW page on NPM showing 1,017,325 weekly downloads.
  • user avatar
    It's insane that with almost 5 million downloads per month and adoption by companies like Google, Microsoft, Spotify, and countless others, MSW still remains a hobby project developed in spare time. Perhaps it's a good time to give back.
  • user avatar
    Announcing "data"! A data modeling and querying library for testing JavaScript applications. ๐Ÿ’Ž dev.to/kettanaito/annโ€ฆ #javascript #testing #api #mocking #mswjs #data
  • user avatar
    Hello, friends! We are working on the biggest API change we've had since the day MSW was released. And it's going to be incredible. We've written a migration guide to showcase the breaking changes: ๐Ÿ“™ github.com/mswjs/msw/blobโ€ฆ Please, let us know what you think. #mswjs
  • user avatar
  • user avatar
    We are about to ship the biggest improvement to mswjs.io in the entire project's history. Stay tuned.
  • user avatar
    We've updated our logo to have a bolder form and get more recognizable. Keeping that fantastic orange! Let us know what you think.
  • user avatar
    We're on the mission to help you write better tests by properly mocking your API. Enjoy the declarative API mocking approach that MSW gives you, and the ability to reuse the SAME mocks in a browser, React Native, Electron, etc. #javascript #api #mocking #testing #mswjs #tip
  • user avatar
    #TIL You can bring your app to the next level by testing how it handles network errors! โœ…Emulate a network error via "res.networkError()" function โœ…Rest assured your app is tested github.com/mswjs/msw #api #mocking #testing #javascript #frontend #backend #nodejs
    Code snippet showcasing how to mock a network error using Mock Service Worker.
  • user avatar
    [email protected] is out! github.com/mswjs/msw/releโ€ฆ โœ… Fallback mode โœ… New "onUnhandledRequest" defaults โœ… Bug fixes and operability improvements #javascript #api #mocking #testing #mswjs
  • user avatar
    This is happening! We've officially opened a request to consider MSW as the default API mocking solution in Create React App. github.com/facebook/creatโ€ฆ We'd appreciate your support on that issue if you enjoy using MSW and would like for it to improve. Thank you.
  • user avatar
    As a huge thank you to all the current and future users of MSW we are launching a brand new website! mswjs.io ๐ŸคฉSimplistic design โœ…Feature highlights ๐Ÿ“˜Docs rewritten from ground-up (including a step-by-step tutorial for beginners!) #javascript #mocking #api