tree: d8aae686261d52e2a2bb8ad21497e19d81b3b342 [path history] [tgz]
  1. BUILD.bazel
  2. mocha-docs.md
  3. mocha.bzl
  4. mocha_reporters.json
  5. package.json
  6. README.md
  7. test.js
examples/macro/README.md

macro example

This example shows how to create a wrapper macro around a generated bin entry from an npm package.

The macro is used to create mocha_test targets to test JavaScript with mocha. It also integrates with Bazel's JUnit XML consumer so that --test_summary=detailed works.