webpack / webpack/tsc

Replace Jest with `node:test`

Open
#170 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.