Replace Jest with `node:test`
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5
- Forks
- 3
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
Motivation
Webpack currently uses Jest for testing, which adds an extra layer of tooling and dependencies. Since Node.js now ships with a built-in test runner (node:test), moving away from Jest would:
- Reduce maintenance overhead.
- Improve performance by removing unnecessary abstractions.
- Simplify the developer setup (fewer dependencies).
- Align with the ecosystem’s push towards native Node features.
Proposal Description
No response
Expected Deliverables
- All Webpack tests run successfully on
node:test - Jest and related dependencies fully removed.
Skills Needed
Experience with the node:test module
References & Prior Art
https://nodejs.org/api/test.html
Difficulty
Intermediate
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the repository's test setup and package dependencies, then read the node:test documentation linked in the issue. Identify all Jest-based tests and configuration, migrate the test suite to node:test, and verify that every test passes with Jest and its related dependencies removed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- testing-qa, tooling
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100