pollyjs
pollyjs copied to clipboard
Record, Replay, and Stub HTTP Interactions.
## Description AFAICS, there is not adapter for http2 yet. are there any plans to implement one? ### Shareable Source ## Relevant Links - https://nodejs.org/docs/latest-v10.x/api/http2.html - https://github.com/grantila/fetch-h2
## Description Because of the use of the InMemoryPersister (#233), we removed all the stored recordings generated by the tests which we used as a crutch to do semi-manual regression...
## Description I'm using Firestore in my project. Firestore seems to use long-polling on HTTP GET requests to provide its real-time updates. This means firestore js library (i'm using angularfire2)...
`@pollyjs/preset-node` `@pollyjs/preset-browser` To abstract away setting up the persisters and adapters that are commonly available in each runtime. Will simplify the documentation on getting started.
Hi, I like idea what your library is doing. But it could be much nicer when there be some tool like [leonardojs](https://github.com/outbrain/Leonardo) on top of polly.js. Especially when you want...
## Description I clearly don't know how to configure test recording. 🙈 ### The problem I'm not able to record my tests. ### What I tried to do 1. **Set...
## Description At some point, the assumption was that the fetch global was a polyfill provided by `node-fetch` and that the node http module would be the lowest level underlying...
## Description This might be a known bug, but I couldn't find any reference. I want to use node native fetch to make requests, but when configuring polly with fetch-adapter,...
vue3 vite with arraybuffer. missing module buffer ### Shareable Source ```js const response = await fetch( 'https://abc.abc.abc/xxx.lerc' ); console.log(response) ``` ### Error Message & Stack Trace ``` VM23117:1 Uncaught ReferenceError:...
## Description The native fetch implemented in a browser (along with node-fetch) provide a complex behaviour when processing **body**. Namely, in case **body** is a URLSearchParams object, it adds this...