Skip to content

feat(testing): @intentius/chant/testing — deployStack live-stack harness (#1224) - #1853

Merged
lex00 merged 1 commit into
mainfrom
feat/1224-testing-subpath
Aug 24, 2026
Merged

lex00 merged 1 commit into
mainfrom
feat/1224-testing-subpath

Conversation

@lex00

@lex00 lex00 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Part of #1224.

Adds the @intentius/chant/testing subpath: deployStack({ dir, env?, params? }) deploys a live instance of a chant project for one vitest suite and returns { outputs, entities, env, destroy }.

Unit tests against the test-utils mock plugin: outputs/entities returned, additive apply args, endpoint applied and scoped, ambient-wins, destroy sweeps exactly the nonce'd env, holes and failed deletes thrown, illegal env refused with the "test-*" hint.

Verified: core tsc clean, npx vitest run packages/core 4444 passed, eslint clean.

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