summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/README.md b/README.md
index abb3fa0..c3e80b7 100644
--- a/README.md
+++ b/README.md
@@ -45,9 +45,19 @@ Runtime config (not in git):
## Tests
```bash
-./tests/cli.test.sh
+npm test
+# or
+./tests/run.sh
```
+Covers:
+
+- Pure helpers (`tests/helpers.test.mjs`) — note formatting, auth heuristics, argv, Conventional Commits subjects
+- CLI dry-run (`tests/cli.test.sh`) — help, create/status/login without a browser (`ICLOUD_NOTES_DRY_RUN=1`)
+- Git history (`tests/conventional-commits.test.sh`) — every commit subject matches Conventional Commits 1.0.0
+
+Live Apple create/status (real headless Chromium) is manual after `icloud-note login`.
+
## License
MIT