Skip to content

Commit 2e759b3

Browse files
Merge pull request #11 from sudorm-rf0/expose-test-docs-script
Expose docs/test front-door checks as a public `test:docs` script (#8)
2 parents 9dd3f8f + cb96b12 commit 2e759b3

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ commands do not go through `agent:*`:
3131
```bash
3232
npm run test:broker-core
3333
npm run test:client
34+
npm run test:docs
3435
npm run test:harness-adoption
3536
```
3637

38+
Run `npm run test:docs` for doc, README, or template changes; it runs the `docs/test` front-door checks.
39+
3740
App work also needs XcodeGen and `npm run test:app`. The full suite is
3841
`npm test`. The same Node suites run on GitHub-hosted Ubuntu CI. That job
3942
does not run `npm run test:app`.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"test:app:focus": "bash ./scripts/test_app.sh --only-testing",
2828
"test:broker-core": "node --test broker-core/test/*.test.mjs",
2929
"test:client": "node --test client/test/*.test.mjs",
30+
"test:docs": "node --test docs/test/*.test.mjs",
3031
"test:harness-adoption": "node --test examples/harness-adoption/test/*.test.mjs",
3132
"test:install-smoke": "bash ./scripts/install_smoke.sh",
3233
"test:package-smoke": "bash ./scripts/package_smoke.sh",

0 commit comments

Comments
 (0)