test: add 22 integration tests for critical flows (#83)#104
Merged
MarcosBrendonDePaula merged 1 commit intomainfrom Mar 15, 2026
Merged
test: add 22 integration tests for critical flows (#83)#104MarcosBrendonDePaula merged 1 commit intomainfrom
MarcosBrendonDePaula merged 1 commit intomainfrom
Conversation
Add comprehensive integration tests covering 6 critical categories: - Request lifecycle (5 tests): hook order, response modification, error handling, multi-plugin priority, context inspection - Plugin lifecycle (4 tests): hook execution order, dependency resolution, Elysia route mounting, plugin context utilities - Live Components (4 tests): mount/state sync, action-driven deltas, cross-component room broadcasting, destroy cleanup - Auth flow (3 tests): register+login flow, authenticated protected route, unauthenticated rejection - Build system (3 tests): plugin generator discovery, live component generator, template engine variable processing - Config system (3 tests): config module validation, defineConfig with validators, framework context config loading Closes #83 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
New test files
tests/integration/framework/request-lifecycle.test.tstests/integration/framework/plugin-lifecycle.test.tstests/integration/live/live-components.test.tstests/integration/auth/auth-flow.test.tstests/integration/build/build-system.test.tstests/integration/config/config-system.test.tsWhat's tested
Closes #83
Test plan
🤖 Generated with Claude Code