-
It should be possible to compile the TypeScript project before tests are run.
We should be able to control TypeScript programmatically. There is a feature to cache some of the compilation work, for…
-
Yesterday I whole day try to test mongoose models with jest. Firstly, think that problem with me and my hands. And I tried tons of variants jest's configs, re-read tons of issues. And at last I take `…
nodkz updated
3 years ago
-
#### Describe the bug
Basic authentication headers persist across redirects to different origins.
- Got version: 10.0.2
- Node.js version: 14.16.0
- OS & version: macOS 10.15.7
#### Expect…
-
As of NodeJS 13, ES Modules are now stable. Furthermore, there are strategies for backward compatible adoption.
At this stage, there are upstream dependencies (e.g. AVA https://github.com/avajs/ava…
-
#### Describe the bug
- Node.js version: v12.18.3 / v14.13.0
- OS & version: Ubuntu 20.04.1 LTS / x86-64
- Got version: v11.7.0
Request to a url which starts with https, url with port ends…
-
## What you're trying to do
Example use case:
- a developer writes tests using `t.snapshot()` assertions
- a regression or external change causes such a test to begin failing
- the developer mar…
-
Based on the TypeScript instructions getting AVA working with TypeScript at runtime should be just installing `ts-node` and `typescript` and then adding configuration:
```ts
"extensions": [
"ts…
-
## Description
> The config file must have a default export, using ES modules. It can either be a plain object or a factory function which returns a plain object.
vs
> We highly recommend the…
-
#### Describe the bug
If my `afterResponse` hook throws a custom error, I'm not expecting it to be rewritten into a Got Request Error
#### Actual behavior
Error is rewritten as a RequestError…
-
Hello! I author and maintain many tape tests, and have found over the years that I frequently find a lot of setup, teardown, and repeat boilerplate code in these test suites. This could be greatly mit…