Skip to main content
Version: 0.18.x

Bazel rules for jest

Runs tests with the test runner under Bazel.

rules_jest is just a part of what Aspect provides:


From the release you wish to use: copy the WORKSPACE snippet into your WORKSPACE file.


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

See the example usages in the example folder.

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