Mock Service Worker 🇺🇦 @ApiMocking
Seamless REST/GraphQL API mocking library for browser and Node.js. Reuse the same network description across your entire stack. mswjs.io Joined June 2020-
Tweets2K
-
Followers6K
-
Following7
-
Likes2K
A great article on how @SlackHQ tests their API client using MSW with Vitest from @seratch 👏 📰 dev.to/seratch/easier… Give this one a read!
Going back to basics for a new client: ⚛️ React SPA (literally, one single page) with Vite ⚡️ 🏖 @tan_stack Query for server state 🐻 Zustand for local state 🧩 Material UI 🧪 @vitest_dev @playwrightweb @TestingLib 🔌 MSW @ApiMocking Let's go! 🚀
In September, Bart and I will be hosting a testing workshop for your React & React Native apps at @react_native_eu, focusing on advanced techniques for real world use cases: ◆ Unit & Integration tests with @TestingLib and RNTL ◆ API mocking with @ApiMocking ◆ Animation tests…
In September, Bart and I will be hosting a testing workshop for your React & React Native apps at @react_native_eu, focusing on advanced techniques for real world use cases: ◆ Unit & Integration tests with @TestingLib and RNTL ◆ API mocking with @ApiMocking ◆ Animation tests…
@thejsnation @ApiMocking need to be here
We are honored to welcome @JMichaelShlomo to the team! 🎉 Michael is a fantastic engineer who has spent way too much time with the Node.js request interception. We can't wait to share what we've been working on!
Huge, unexpected news! MSW (@ApiMocking) has been selected to receive a @Microsoft FOSS Fund sponsorship! 🎉 This means that the entirety of Microsoft has voted MSW to be in the top 5 most impactful open-source projects they are using. I'm talking different teams, goals, and…
This is out of this world! Thank you, @Microsoft 💪
This is out of this world! Thank you, @Microsoft 💪
Meet Artem, one of our exceptional pioneers! 🌟 His dedication to advancing code quality and security is truly inspiring. Tap the link to learn how he's making a difference in the developer community through @ApiMocking. ⤵️ hubs.li/Q02swhsl0 #CodacyPioneers #CodeQuality
❤️
The fact that MSW (@ApiMocking) has twice as many weekly downloads on npm than Svelte, Solid, Qwik, and HTMX combined is unbelievable 🤯
Do I have any friends at @SpotifyEng to talk about sponsoring @ApiMocking? Spotify has been one of the early adopters of MSW through its backstage project, and I would love to see that grow into a more official partnership. Let's build the future of API mocking together!
Here, I fixed it for you with @ApiMocking:
Here, I fixed it for you with @ApiMocking: https://t.co/nCnQn5tfS1
I test web apps via 3 types of tests: 1. End-to-end (E2E) - Goal: Smoke test each page to assure it loads successfully. Only check for static elements. Avoid checking for anything that might change. No mocks. Typically use @playwrightweb or @Cypress_io. 2. Integration test:…
I typically configure @playwrightweb to run end-to-end (E2E) and mocked tests separately. Here’s how: 1. Put e2e and mocked tests in separate folders. 2. Create two separate npm scripts. First, `playwright:e2e` which starts the app and runs tests in the e2e folder. Second,…
Testing server endpoints that plug into lots of other APIs with vitest and msw is stupidly easy I'm using vitest fixtures, msw, msw/data, and testcontainer DBs and it gets me pretty close to a real request without pain Testing is 5x more fun with @ApiMocking vs manual mocks
I've got something special for you. You can try the WebSocket support in MSW right now. 👉 npm i msw@next - Docs: website-git-docs-ws-mswjs.vercel.app/docs/basics/ha… - Share feedback: github.com/mswjs/msw/disc…
Storybook has gotten even better. Check v8 out!
Storybook has gotten even better. Check v8 out!
We've upgraded msw v1.x -> v2.x with no issue. @ApiMocking, thanks for the awesome migration guide 👏
Matt Pocock @mattpocockuk
142K Followers 581 Following Full-time TypeScript educator. Ex-@vercel, @statelyai. Used to be a voice coach. He/him. Author of Total TypeScript 🧙 Hire me to teach your team TypeScript!Cory House @housecor
117K Followers 714 Following Consultant. Sharing coding tips. I help devs grow. Teaching software dev: https://t.co/D5emROQa4J Helping teams switch to React: https://t.co/Qfp4Tfp3jf ⚛️David K 🎹 @DavidKPiano
66K Followers 3K Following Making state machines at @statelyai · prev. @Microsoft · I play pianoSeb ⚛️ ThisWeekIn.. @sebastienlorber
41K Followers 5K Following 🔥 Join 37k devs - Stay up-to-date with React: • 📨 https://t.co/DvLGHeLY5G • @ThisWeekInReact • @docusaurus maintainerAlex / KATT 🐱 @alexdotjs
19K Followers 2K Following 👋 I'm Alex & I tweet about web dev stuff. 👉 Creator of @trpcio (⭐️30k+). 🧙♂️ Open-sourcerer & fully-stacked typescripter. 🗣 Speak 🇸🇪🏴🇧🇷Storybook @storybookjs
24K Followers 419 Following /** Open Source UI Development Maintained by @chromaticcom */Artem Zakharchenko @kettanaito
7K Followers 548 Following Teaching automated testing at https://t.co/lRpSA0aD2A. Author @ApiMocking. Instructor @eggheadio.Matteo Collina @matteocollina
42K Followers 3K Following @platformatic Co-Founder & CTO, @nodejs TSC member, Lead maintainer @fastifyjs, Board @OpenJSF, Conference Speaker, Ph.D. Past: @nearform. Views are my own.Scott Tolinski - Synt.. @stolinski
59K Followers 2K Following Co-host of https://t.co/88mStAaGOe | @getsentryTomasz Łakomy @tlakomy
24K Followers 3K Following Engineering @runwayml | ex Engineering Team Lead @Stedi | AWS Hero | Co-founder at @cloudashdev | @eggheadio instructor | 2x AWS Certified | Be kindTom @tomdiggelmann
123 Followers 625 Following Currently working as a frontend developer @ https://t.co/qtCvjROjzp – Vue, Nuxt, React, NextJuan Thomas Angel Mon.. @JuanThomasAnge2
417 Followers 2K Following Ingeniero en Sistemas. #Libertarian #OldRightぎたに@Next.js修�.. @gtn_74
209 Followers 231 Following frontend engineer| #海好き | #旅好き |FP3級|簿記3級| #ニューミー 下田 | #長崎友輪家 | 言語:React | Next.jsRussell Dillin @rastreus
592 Followers 3K Following I write code for a living, and I enjoy playing video games.shin61612 @shin61612
2 Followers 173 FollowingErik Pragt @epragt
2K Followers 342 Following Software developer responsible for digital identity during the day. Maintainer of https://t.co/bIzfgjfLmG and various other projects at night. Does a bit of running too.luma 🇧🇷🏳️�.. @monnlu1
36 Followers 273 Following hi! 🚣🏼♂️ learning PHP, Laravel, React Native, Expo, Next.js and more :)Adrian Zhang @adrian_zhang026
17 Followers 247 FollowingNikita @nikitavoloboev
4K Followers 7K Following Make @LearnAnything_ Learn in public: https://t.co/GbFvuErkYn macOS course: https://t.co/JdbJWru6zG https://t.co/94R8ER7K2h https://t.co/ROkqhyhpEKMauro Jurincic @mjurincic
62 Followers 676 Following Full-stack JavaScript Engineer | #javascript, #nodejs, #reactjs, #ReactNative, #GraphQL, #typescript, #apollographqlSebastian Higuita Cas.. @enspdf
71 Followers 2K FollowingAlvi @alvi_webdev
4 Followers 169 FollowingSunkesula BabuReddy @Fend2AI
61 Followers 192 Following Aspring web developer | Data Scientist | Udacity Google India scholar 2k18- FEND | Facebook Secure and Private AI scholarLuke @luke_warlow
651 Followers 788 Following Web Platform Engineer @igalia | @openuicg Participant | Opinions my own 🧵: https://t.co/cNexKtp6NH 🐘: https://t.co/Cqt6RDlmKrCaped crusader @achillesTweetss
199 Followers 2K FollowingJoe (FE Dev available.. @joesanchezjr
240 Followers 140 Following 🌐 Software Engineer, Web (Frontend) ⚛️ React + TypeScript 🔍 Available for hire!Alex_Diaz @AlexDiaz197500
13 Followers 60 FollowingAndreas Buchholz @DeBuchie
81 Followers 2K Following #CFB | #NFL | #NHL | #NBA | #Bundesliga | #EveryDayLifeLivingston Samuel @delivi
599 Followers 397 Following 👨💻Coder • 🎮 Gamer • 🏍️ Biker • ⛰️ Trekker Front-end Engineer @ ThoughtWorks @[email protected]Dan Humphreys @maraudagroup
14 Followers 537 FollowingScott Sowers @Scott_Sowers
314 Followers 619 Followingrob @goof
7K Followers 7K Following markets, marketing, tech, unsolicited commentary. no advice, just thoughts.dimty @dimty210051
5 Followers 164 FollowingAbraham Emmanuel @AEmmanuel12390
429 Followers 2K Following I am a software developer/ programmer, backend developer.. let's get to 100k... #Javascript #nodejs #connect #programming #webdev #buildinpublic #connectionsLikWid23 @Lausenzwerg
74 Followers 581 Followingあびしゃい後円.. @avishai_kofun
81 Followers 984 FollowingMateusz Kadlubowski @xeho91
182 Followers 2K Following Software developer (full-stack) #typescript and #rust. Also a #terminal_nerd🤓.Sarath Pawanism @SarathSurya50
60 Followers 319 FollowingHussein Kizz ★ @hussein_kizz
224 Followers 1K Following 🧙♂️ Generalized Specialist! 🦄 Community Lead @JsKampala & @dev_gig ✨ 👨💻 Dev: https://t.co/N60MEbTzy3 😂 Tweets are never my own, I just retweet!Loïc L. @purpleloic
122 Followers 2K FollowingCarla Rivera @cprivera25
1 Followers 57 Following Software engineer @ Msft || all opinions are my ownDzmitry Navitski @dz_navitski
13 Followers 289 FollowingNico @paradoxloop2
3 Followers 16 FollowingFede López Bertoni @lopezbertoni
309 Followers 509 FollowingSushil Ale 🇳🇵 @msucil
364 Followers 1K Following #student, interested in enterprise web application development, trying to dig #java #world, #web #developer, influenced by #FOSS, #rotractor, #osm #mapper🇳🇵Kasymov @Kasymov2112
42 Followers 358 FollowingAndy Francis @andyfuh
46 Followers 271 FollowingDidier Caron @dgcaron
388 Followers 792 Following dev, systems integrator | #azure #devops #terraform #bicep #dotnet #golang #pwsh #typescript #sql #nosql #react #python #sparkArtem Zakharchenko @kettanaito
7K Followers 548 Following Teaching automated testing at https://t.co/lRpSA0aD2A. Author @ApiMocking. Instructor @eggheadio.Michael Solomon @JMichaelShlomo
74 Followers 24 FollowingYann Braga @yannbf
970 Followers 297 Following 🇧🇷🇳🇱 Storybook team at @chromaui | Author at @newlinedotco | Speaker | https://t.co/b21XMSta6YTim Deschryver @tim_deschryver
6K Followers 317 Following 👟 Runner 👨💻 OSS enthusiast - @ngrx_io, @TestingLib ✍ Blogger 🏆 Microsoft MVP (Developer Technologies)Matt Sutkowski @de_stroy
352 Followers 470 Following Working @getstord. co-maintainer/contributor to a handful of projects. #redux @ApiMockingMarco Moretti @marcosvegaMoro
137 Followers 185 Following Web Developer / JavaScript lover / working at ICTandMore / member of @TestingLib/@ApiMockingA great article on how @SlackHQ tests their API client using MSW with Vitest from @seratch 👏 📰 dev.to/seratch/easier… Give this one a read!
Awesome intro to the workings of MSW (@ApiMocking ) by @kettanaito egghead.io/courses/mock-r… Looking forward to the epicweb workshops being available.
Long ago, I built this little handy website to explain how URLs work on the web? 👉 howurls.work It was extremely fun to build, and I've never collaborated with so many people on translating my project before (so thank you if you contributed!).
Yep, that’s a global WebSocket class in Node.js, ya’ll.
Node.js 22 is here 😎 Featuring: require()ing ESM graphs, WebSocket client, updates of the V8 JavaScript engine, and more. Big thank you to @_rafaelgss and @satanacchio for their work on this 🎉
@ApiMocking was using default request from "graphql-request", even when adding Content-Type and POST method manually, I still just get method and endpoint logged
Going back to basics for a new client: ⚛️ React SPA (literally, one single page) with Vite ⚡️ 🏖 @tan_stack Query for server state 🐻 Zustand for local state 🧩 Material UI 🧪 @vitest_dev @playwrightweb @TestingLib 🔌 MSW @ApiMocking Let's go! 🚀
Are you using GraphQL & @ApiMocking? By default, MSW logs the method and URL of unhandled requests. But, this is not very useful for GQL. Here is a way to log unhandled requests by operation name instead.
In September, Bart and I will be hosting a testing workshop for your React & React Native apps at @react_native_eu, focusing on advanced techniques for real world use cases: ◆ Unit & Integration tests with @TestingLib and RNTL ◆ API mocking with @ApiMocking ◆ Animation tests…
Maintain that perfect, bug-free app over time 👌 Join our #TestingStrategies for React & React Native Apps workshop on September 4 in Wrocław! Led by @thiagobrez and Bartłomiej Tomczyk, this 8-hour deep dive will equip you with the right tools 🛠️ Tickets: hubs.li/Q02tL4LC0
@maverickdotdev @nextjs @ApiMocking does marking the peer dep as optional (using package.json -> peerDependenciesMeta) resolve it? Looks like Nextjs added support for that: github.com/vercel/next.js…
I've been using MSW @ApiMocking in all my projects for the past ~4 years. Being able to share network mocks between dev, test and docs/storybook is amazing. It has saved me from countless product demos where environments of deployed APIs suddenly go down - MSW saves the day🚀
Thank you so much for supporting MSW, @ari_perkkio! ❤️ Means a lot coming from a fellow open-source magician. You rock!
We are honored to welcome @JMichaelShlomo to the team! 🎉 Michael is a fantastic engineer who has spent way too much time with the Node.js request interception. We can't wait to share what we've been working on!
@kettanaito @ApiMocking @Microsoft Awesome! And so well deserved! @ApiMocking is awesome and helping so many companies and people. And so are your fantastic articles and videos! Keep it up 👍
Huge, unexpected news! MSW (@ApiMocking) has been selected to receive a @Microsoft FOSS Fund sponsorship! 🎉 This means that the entirety of Microsoft has voted MSW to be in the top 5 most impactful open-source projects they are using. I'm talking different teams, goals, and…
@jeffwilcox @NVAccess @urllib3 @ApiMocking Thank you so much, Jeff! And everyone in Microsoft who voted MSW to the top of the list. You are phenomenal. Grateful for your support ❤️
Our most recent FOSS Fund landed today: Microsoft's employees who contribute to open source chose to sponsor @NVAccess, @urllib3, @ApiMocking, the GNU compiler collection & the Rust command line argument parser (clap). Find out more at aka.ms/microsoftfossf… ✨✨✨
On commence le weekend avec une session de consolidation du projet perso 💪 Setup de pas mal de chose ce soir avec @vitest_dev , @ApiMocking et React Testing Library et du Coverage. Histoire de pouvoir continuer le développement plus sereinement ☺️ Spoil de la suite du W-K.🤫
@edorsey Both have their place. If I can quickly stand up a static db and reset it, that’s preferable. When I can’t, then I use @ApiMocking