tree: 1a32694eeb7c31651efe2f70787ee53cd4b49d09
  1. patches/
  2. .bazelignore
  3. .bazelrc
  4. babel.config.js
  5. BUILD.bazel
  6. dummy_test.sh
  7. extra.js
  8. index.js
  9. index.test.js
  10. index2.test.js
  11. jest.bzl
  12. jest.config.js
  13. package.json
  14. README.md
  15. WORKSPACE
  16. yarn.lock
examples/jest/README.md

Jest example

This example shows how you might use the Jest testing framework

It has a utility macro in jest.bzl which makes a more ergonomic API for calling the jest_test rule in @npm//jest-cli:index.bzl. We suggest copying that to your repo.