-
We already have the [Endpoint testing](https://github.com/avajs/ava/blob/master/docs/recipes/endpoint-testing.md) recipe, but it's not very comprehensive. Testing endpoints is such a common tasks, I t…
-
[](https://issuehunt.io/r/avajs/ava/issues/845)
This would be especially handy for AST type tests.
Consider the following
``` js
const ast = {
loc: ... // I usually don't care about this.
st…
-
this is a spinoff of #1171
- Node.js version: 12.16.1
- OS & version: latest MacOQ
since got@11.0.0, `.paginate()` no longer send the body (json payload) of an `allowGetBody` query
#### A…
-
AVA now recognizes `.mjs` test files, but refuses to load them. We should!
See the code here: https://github.com/avajs/ava/blob/54ff13036517e7dff3d95b7afe4e70254b1dbe7a/lib/worker/subprocess.js#L13…
-
#### Describe the bug
- Node.js version: 12.16.3
- OS & version: macOS Catalina 10.15.4
- GOT: 11.1.1
#### Actual behavior
When the connection is closed by the server with an EPIPE an…
-
#### Describe the bug
- got version: 11.0.1
- Node.js version: v13.12.0
- OS & version: macOS (10.15.4)
According to the [documentation](https://github.com/sindresorhus/got#got), `got` s…
pqvst updated
4 years ago
-
I wrote this over a few evenings, and it looks like it's possibly being used, so I need to write unit tests with ava https://github.com/avajs/ava.
-
#### Describe the bug
- Node.js version: 12.16.1
- OS & version: MacOS 10.15
#### Actual behavior
When stream throws error, the event listener sends `error` object. The `error.response.b…
-
#### Describe the bug
- Node.js version: 12.13.1
- OS & version: Windows 10 x64
When passing in a URL object (or string) to got, the path changes from what was originally passed in.
#### A…
-
#### Describe the bug
- Node.js version: v13.12.0
- OS & version: Unraid beta 8
#### Actual behavior
```
GotError: The "source" argument must be of type function or an instance of Stre…