> ## Documentation Index
> Fetch the complete documentation index at: https://site.aspect.build/llms.txt
> Use this file to discover all available pages before exploring further.

# @aspect_rules_cypress//cypress:extensions.bzl

> Bazel rules_cypress bzlmod module extensions to register the Cypress toolchain and dependencies in MODULE.bazel for JavaScript end-to-end testing.

<Callout icon="book">
  Documentation for [@aspect\_rules\_cypress@v0.7.2](https://registry.bazel.build/modules/aspect_rules_cypress/0.7.2) -- <Icon icon="github" iconType="brands" /> [View source](https://github.com/aspect-build/rules_cypress/blob/v0.7.2/cypress/extensions.bzl)
</Callout>

extensions for bzlmod

## Module extension: `cypress`

### Tag: `toolchain`

<ParamField body="name" type="name" default={`cypress`}>
  Base name for generated repositories
</ParamField>

<ParamField body="cypress_version" type="string" default={`""`}>
  Version of cypress to download
</ParamField>

<ParamField body="cypress_integrity" type="dictionary: String → String" default={`{}`}>
  Mapping from platform to integrity file hash. See cypress\_register\_toolchains
</ParamField>
