I have a target:
nodejs_test(
name = "mocha_test",
data = [
"@npm//mocha"
],
entry_point = "mocha/bin/mocha",
)
The Bazel output is:
INFO: From Testing //xyz:mocha_test:
==================== Test output for //xyz:mocha_test:
Error: No test files found: "test"
`npm test` runs as expected from the same place