Skip to content

Instantly share code, notes, and snippets.

@royib
Created January 25, 2023 10:16
Show Gist options
  • Save royib/78897c190d172bead27f7105003bd0e5 to your computer and use it in GitHub Desktop.
Save royib/78897c190d172bead27f7105003bd0e5 to your computer and use it in GitHub Desktop.
bazel react test workspace
########Tetst######
http_archive(
name = "aspect_rules_jest",
sha256 = "abb6bed8b7b22df20d652c60d780cc23e65ffe6c56500d5a9a836a69469f7f99",
strip_prefix = "rules_jest-0.14.3",
url = "https://github.com/aspect-build/rules_jest/archive/refs/tags/v0.14.3.tar.gz",
)
####################
# rules_jest setup #
load("@aspect_rules_jest//jest:dependencies.bzl", "rules_jest_dependencies")
rules_jest_dependencies()
# Fetches the npm packages for jest-cli.
load("@aspect_rules_jest//jest:repositories.bzl", "jest_repositories")
jest_repositories(name = "jest")
load("@jest//:npm_repositories.bzl", jest_npm_repositories = "npm_repositories")
jest_npm_repositories()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment