Skip to content

chore: add test and typecheck npm scripts#17

Open
paralizeer wants to merge 1 commit intomainfrom
auto/feature/add-test-scripts-20260308_040006
Open

chore: add test and typecheck npm scripts#17
paralizeer wants to merge 1 commit intomainfrom
auto/feature/add-test-scripts-20260308_040006

Conversation

@paralizeer
Copy link
Copy Markdown
Owner

Summary

Adds npm scripts for running tests and type checking, enabling CI pipelines to validate code quality without additional dependencies.

Changes

  • Added npm test script: runs all tests in dist/**/*.test.js using Node.js built-in test runner
  • Added npm run typecheck script: runs TypeScript type checking without emitting files

Testing

  • All 33 tests pass
  • TypeScript type checking passes with no errors

Context

Complements PR snarktank#287 which added test/typecheck npm scripts but is blocked by Vercel CI failures.

Risk

Low - only adds npm scripts, no behavioral changes.

Auto-generated by Openclaw AutoDev

Adds npm scripts for running tests and type checking, enabling
CI pipelines to validate code quality. Uses Node.js built-in test
runner (node:test) for zero额外 dependencies.

- 'npm test' runs all tests in dist/**/*.test.js (33 tests passing)
- 'npm run typecheck' runs TypeScript type checking without emitting

This change complements PR snarktank#287 and enables GitHub Actions CI validation.

Auto-generated by Openclaw AutoDev
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