wheresrhys / fetch-mock

Mock http requests made using fetch
http://www.wheresrhys.co.uk/fetch-mock/
MIT License
1.29k stars 178 forks source link

Add compatibility tests to CI #552

Closed wheresrhys closed 3 months ago

wheresrhys commented 4 years ago

test key environments such as jest (v25 & 26 for esm), create-react-app react-native, playwright for cross browser https://github.com/microsoft/playwright (hopefully supporting esm)

wheresrhys commented 4 years ago

mocha puppeter https://www.google.com/search?q=puppeteer+mocha&oq=puppeteer+mocha&aqs=chrome..69i57j0l4.3296j1j7&sourceid=chrome&ie=UTF-8

wheresrhys commented 4 years ago

playwright mocha https://playwright.dev/#version=v1.0.1&path=docs%2Ftest-runners.md&q=mocha

https://medium.com/@arjunattam/fast-and-reliable-cross-browser-testing-with-playwright-155c0e8a821f

wheresrhys commented 3 months ago

@fetch-mock/core is far simpler now, not requiring node-fetch, and it also removes the sandbox() method, which was also a cause of clashes, so less need fro these tests now