aspect_rules_jest 0.25.2Latest published 3.2mo ago
MODULE.bazel
bazel_dep(name = "aspect_rules_jest", version = "0.25.2")
README

Bazel rules for jest

Runs tests with the https://jestjs.io/ test runner under Bazel.

Many companies are successfully testing with rules_jest. If you're getting value from the project, please let us know! Just comment on our Adoption Discussion.

rules_jest is just a part of what Aspect provides:

Installation

Follow instructions from the release you wish to use: https://github.com/aspect-build/rules_jest/releases

Usage

Run all Jest tests in the workspace: bazel test --test_lang_filters=jest //...

Filter tests by file path: bazel test --test_filter="user" //my:test (uses Jest's testRegex)

See jest_test API documentation and the example usages in the example folder.

Note that the example also relies on code in the /MODULE.bazel file in the root of this repo.

Troubleshooting and common challenges

For troubleshooting and common challenges, see docs/troubleshooting.md.

About

Bazel rules to run tests using https://jestjs.io

@aspect-build/rules_jest@aspect-build
Homepage
24stars
Friday, February 27, 2026
@aspect-marvin#7720 aspect_rules_jest@0.25.2 (#7720)

Languages

JavaScript35.7%
Shell3.3%

Maintainers

@alexeagle
@gregmagolan
@jbedard

Versions

0.25.2 +2d2026-02-27
0.25.1 +1h2026-02-24
0.25.0 +2.5mo2026-02-24
0.24.3 +19d2025-12-10
0.24.2 +2d2025-11-21
0.24.1 +13d2025-11-18
0.24.0 +2.8mo2025-11-04
0.23.3 +3.5mo2025-08-13
0.23.2 +1d2025-04-29
0.23.1 +5d2025-04-28
0.23.0 +8.3mo2025-04-22
0.22.0 +2.8mo2024-08-15
0.22.0-rc0 +3h2024-05-22
0.22.0-alpha.0 +7h2024-05-21
0.21.0 +11d2024-05-21
0.21.0-alpha.0 +3.4mo2024-05-10
0.20.0 +3.1mo2024-01-27
0.19.6 +3.5mo2023-10-26
0.19.5 +6d2023-07-12
0.19.3 +1.4mo2023-07-06
0.19.2 +1.0mo2023-05-25
0.18.42023-04-24