blob: 60b304e2ea2315c6871e7a35e2c3f3bed55a3795 [file] [log] [blame] [view]
# 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](https://mochajs.org/).
It also integrates with Bazel's JUnit XML consumer so that [`--test_summary=detailed`](https://bazel.build/docs/user-manual#test-summary) works.