cloudfour / cloudfour/pleasantest
Make MSW work well (Network stubbing/interception)
Open
feature
- Dominant language
- TypeScript
- Stars
- 175
- Forks
- 2
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
MSW is a library for request interception. https://mswjs.io/
[Here](https://kentcdodds.com/blog/stop-mocking-fetch) is a Kent article that explains why it is good.
Puppeteer [has a built-in way to do request interception](https://pptr.dev/#?product=Puppeteer&version=v7.1.0&show=api-pagesetrequestinterceptionvalue). But MSW's API is nicer and more intuitive.
We should look into either:
- Getting MSW to work with Pleasantest
- Make an API that looks and works like MSW that actually just wraps Puppeteer's request interception
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.