jest-light-runner
es-pack-js
jest-light-runner | es-pack-js | |
---|---|---|
1 | 1 | |
222 | 3 | |
- | - | |
6.1 | 4.6 | |
5 months ago | 7 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jest-light-runner
-
Meta Is Transferring Jest to the OpenJS Foundation
Hi! Christoph from Jest here. Your feedback is great, and 100% valid. Jest was built a long time ago when ES modules did not exist, and we are still carrying some of that legacy baggage around.
The good news is that we have never been shy about making breaking changes and we are working on cleaning the house and making many legacy components optional, all while bringing the existing community with us.
As for mocking, you don’t have to rely on Jest’s inbuilt mocking libraries and you can use the ones you like better.
If you care more about raw performance and ES module support and less about isolation, check out the jest-light-runner: https://github.com/nicolo-ribaudo/jest-light-runner
We also mentioned it in our Jest 28 blog post: https://jestjs.io/blog/2022/04/25/jest-28
I’m wondering if it’s time to consider taking a big step and making this runner the default, and give people the optionality of isolation. However, in my past experience at large companies (both first-hand and second-hand experience), the lack of isolation in tests led to major reliability problems with testing infrastructure. I’m still feeling like it’s the better default today, but maybe we should have a serious discussion about Jest’s next set of defaults.
es-pack-js
What are some alternatives?
nextjs-vitest-example - Vitest unit test in Next.js project
xv - 🙅♀️ ✌️ fastest test runner
tools - Unified developer tools for JavaScript, TypeScript, and the web
klap 👏 - zero config, zero dependency bundler for tiny javascript packages
flow-for-vscode - Flow for Visual Studio Code
xmpp.js - XMPP for JavaScript
base64-transcode - Base64 encoding and decoding for both browser and node, with binary file support.