Skip to content

feat: add thorough tests and CI test workflow#2

Merged
imjohnbo merged 1 commit into
mainfrom
imjohnbo/add-tests
Mar 28, 2026
Merged

feat: add thorough tests and CI test workflow#2
imjohnbo merged 1 commit into
mainfrom
imjohnbo/add-tests

Conversation

@imjohnbo
Copy link
Copy Markdown
Owner

Adds 116 unit tests across three new files (scripts/client.test.js, scripts/output.test.js, scripts/config.test.js) covering the core library modules — validators, KitApiError, all HTTP client methods, pagination, output formatting, and config validation. Also adds a GitHub Actions workflow (.github/workflows/test.yml) that runs the full test suite against Node 18, 20, and 22 on every push and pull request. The ora dependency (unused) was removed and package-lock.json updated accordingly.

Add 116 unit tests across three new test files covering src/client.js,
src/output.js, and src/config.js, plus a GitHub Actions workflow that
runs the suite against Node 18, 20, and 22 on every push and PR.
@imjohnbo imjohnbo merged commit 61e4629 into main Mar 28, 2026
@imjohnbo imjohnbo deleted the imjohnbo/add-tests branch March 28, 2026 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant