Bazel rules for Jasmine

May 24, 2026 ยท View on GitHub

Note

This repository uses the Aspect CLI for CI and local development. See the docs and install instructions to get started.

Runs the Jasmine JS testing tool under Bazel.

rules_jasmine is just a part of what Aspect provides:

Installation

Usage

To run just the jasmine tests in a test pattern, you can use bazel test --test_lang_filters=jasmine [target pattern...].

API Docs: https://registry.bazel.build/docs/aspect_rules_jasmine

See usage examples in the examples/ directory.

Note that the examples rely on code in the /WORKSPACE file in the root of this repo.