No video

Reliable network regression tests with Source and MSW

  Рет қаралды 235

Artem

Artem

Ай бұрын

In this one, I'm sharing the workflow I imagined some years ago. Reproduce an issue in the browser, export the network recording as an HAR file, put it next to your tests, and transform it into request handlers for MSW. Reliable 1-1 network reproduction in your tests every time, all the time.
- Source: source.mswjs.io
- MSW: mswjs.io
- Follow me on Twitter: x.com/kettanaito
#mswjs #testing #javascript

Пікірлер: 2
@kettanaito
@kettanaito 28 күн бұрын
I hope you like this short example of the regression testing workflow! Being able to record the actual traffic and generate mocks out of it is insanely powerful for testing tricky data-related scenarios. Give Source a try!
@tririfandani1876
@tririfandani1876 28 күн бұрын
Ohh this is interesting
What is an API Gateway?
10:19
IBM Technology
Рет қаралды 301 М.
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 11 МЛН
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 28 МЛН
Викторина от МАМЫ 🆘 | WICSUR #shorts
00:58
Бискас
Рет қаралды 5 МЛН
Идеально повторил? Хотите вторую часть?
00:13
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 10 МЛН
Tuples - TypeScript Tutorial For Beginners
1:33
Coding Archy
Рет қаралды 6
React Testing Library Tutorial #13 - Mocking Requests
10:29
Net Ninja
Рет қаралды 66 М.
Mock Service Worker 2.0 (TestJS Summit 2023)
27:20
Artem
Рет қаралды 436
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 11 МЛН