jest
jest copied to clipboard
Delightful JavaScript Testing.
https://github.com/facebook/jest/pull/13106#issuecomment-1208591622 This adds a test case for the issue described above and can be demonstrated with. ``` cd e2e/worker-restarting node ../../packages/jest-cli/bin/jest.js ```
### 🚀 Feature Proposal Now [Reporter API](https://github.com/facebook/jest/blob/a5a27f749c5e05e202c28a48d80fa474c822e857/packages/jest-reporters/src/types.ts#L22-L48) reports the result of every `test` or `it`, but there are no events for beginning of each `test` or `it`. Related discussion in...
### Version docs ### Steps to reproduce This page in the docs about Webpack is completely outdated: https://jestjs.io/docs/webpack The syntax for loaders looks really strange and it probably originates from...
### 🚀 Feature Proposal I'd like a `setupExec`, `setupExecAfterEnv` and `teardownExec` that can run arbitrary commands added to the config parameters ### Motivation For integration testing servers may need to...
### Version 28 ### Steps to reproduce Comparing a class that implements Iterable, fails when fields are initiated in different order. ```typescript class IterWrap implements Iterable { a: number; b:...
### Version 28.1.2 ### Steps to reproduce https://github.com/shaobeichen/blog ``` yarn yarn test:coverage ``` ### Expected behavior no error ### Actual behavior $ yarn test:coverage yarn run v1.22.19 $ jest --coverage...
### Version 28.1.3 ### Steps to reproduce 0. Clone https://github.com/Zebreus/jest-watch-bug-repro 1. Dirty the file alpha.js ( `echo " " >> alpha.js` ) 7. Run `jest --watch --coverage --watchAll` 3. Observe...
[Feature]: Closing stale issues and PRs automatically - do not close issues with X amount of upvotes
### 🚀 Feature Proposal Would it be possible that the bot that closes issues automatically does not close them if they have let's say 10 upvotes? ### Motivation Upvoted issues...
**Do you want to request a *feature* or report a *bug*?** Bug **What is the current behavior?** I have defined a manual mock in a nested directory (for example, `src/utils/left-pad.js`)....
I run JEST tests using `npm run test:jest` and the corresponding entry in package.json is `"test:jest": "jest --config=./jest.config.js",` All tests run successfully, but returns with exit code 1 ``` Test...