Skip to content

Commit 6288ebb

Browse files
vaindclaude
andcommitted
Add test runner instructions to CONTRIBUTING.md
The test command and Node version requirement were only documented in CI workflow YAML, making it hard for new contributors to discover how to run tests locally. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 8bc7876 commit 6288ebb

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

danger/CONTRIBUTING.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Contributing
22

3+
## Running tests
4+
5+
The test suite uses Node.js's built-in test runner (requires Node 18+):
6+
7+
```sh
8+
cd danger
9+
node --test
10+
```
11+
12+
No dependencies to install — the tests use only `node:test` and `node:assert`.
13+
314
## How to run dangerfile locally
415

516
- [Working on your Dangerfile](https://danger.systems/js/guides/the_dangerfile.html#working-on-your-dangerfile)

0 commit comments

Comments
 (0)