-
Steps:
1. Checkout step2
2. Run tests with `npm test --prefix consumer`
Outcome:
Jest is panicking on `import` at axios
Console output:
```
FAIL src/api.spec.js
● Test suite failed t…
-
@MarcelLZ can you elaborate on your experience with tests?
P.s.: this is the current test coverage status for the frontend:
```
$ node_modules/.bin/jest --coverage
PASS src/screens/login/form/…
-
### Verify canary release
- [X] I verified that the issue exists in the latest Next.js canary release
### Provide environment information
```bash
Operating System:
Platform: win32
…
-
### Current Behavior
A vanilla generated app cannot be tested.
### Expected Behavior
```
nx test rn-demo
> nx run rn-demo:test
PASS demo apps/demo/src/app/App.spec.tsx
● rende…
-
Hello team. With my team we are migrating from Vue2 to Vue3. We are using Jest v26.6.3, and we upgraded to vue-jest v5.0.0-alpha.10, as you propose on the docs.
However, we noticed that vue-jest in…
-
Jest tests for `next-drupal` fail when run locally.
### Expected behavior
The TESTING.md documentation tells a developer how to run the tests and the local tests run successfully.
### Steps t…
-
[front-end/src/configuration/capabilities.test.js](https://github.com/reef-pi/reef-pi/blob/main/front-end/src/configuration/capabilities.test.js) has:
```
describe('render capabilities component',…
-
**Tech stack**: Jest 27, react 17, react-pdf/renderer 3.0.0
When running a test that encounters the react-pdf/renderer, the file EncodeStream instantiates TextEncoder.
That class is not availabl…
-
## Explanation
A11yNotice is a styled component, not a test helper. It is located in the `src/tests` folder and should be just in `src`.
## Technical decisions
## Feedback?
-
I usually like to pass all environment bound interfaces as a parameter, including fs.
Here is a simple Example:
```js
import * as fs from "fs";
function doSomething(something, fsEnv = fs) {
…