Skip to content

test: add unit and VS Code test layers - #53

Closed
kaiserls wants to merge 5 commits into
prefix-dev:mainfrom
kaiserls:chore/add-test-layers
Closed

kaiserls wants to merge 5 commits into
prefix-dev:mainfrom
kaiserls:chore/add-test-layers

Conversation

@kaiserls

Copy link
Copy Markdown

Summary

  • add a no-output TypeScript type-check command
  • add a Node.js unit-test layer for pure Pixi command logic
  • add a VS Code extension-host smoke-test layer
  • gate pre-release publishing on the full test suite
  • document local testing commands and test-layer responsibilities

The unit test covers canonical Pixi environment names so display labels such as project:dev (3.12.0) are not passed to the Pixi CLI.

Validation

  • tsc -p . --noEmit
  • tsc -p . --outDir out
  • node --test out/test/**/*.unit.test.js
  • VS Code extension-host smoke test via @vscode/test-cli
  • ESLint and Prettier checks

kaiserls and others added 5 commits September 25, 2026 22:57
* Pin node version

* Perform npm audit fix

* Cache npm downloads in workflows

* Enable weekly dependency updates

* Add scheduled dependency security audit

* Check out repository before reading Node version
Introduce husky to execute qa pre-commit hooks
Introduce Contributing section in the readme
@kaiserls kaiserls closed this Sep 27, 2026
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