Skip to content

test: cover studio plugin registration#257

Open
Entr0zy wants to merge 1 commit into
outerbase:mainfrom
Entr0zy:test/studio-plugin-coverage-71
Open

test: cover studio plugin registration#257
Entr0zy wants to merge 1 commit into
outerbase:mainfrom
Entr0zy:test/studio-plugin-coverage-71

Conversation

@Entr0zy
Copy link
Copy Markdown

@Entr0zy Entr0zy commented May 30, 2026

Summary

  • Add focused Vitest coverage for StudioPlugin registration in plugins/studio/index.ts.
  • Cover default /studio route registration and authenticated Studio HTML response wiring.
  • Cover custom route prefixes and the disabled-prefix branch where no route should be registered.
  • Keep this test-only with no production behavior changes.

/claim #71

Validation

  • npx -y pnpm@9.15.4 exec vitest run plugins/studio/index.test.ts -> 3 tests passed
  • npx -y pnpm@9.15.4 exec prettier --check plugins/studio/index.test.ts -> passed
  • git diff --check -> passed

Notes

  • This is a non-overlapping Studio plugin registration slice, separate from the existing Studio handler-auth coverage PR.
  • The local Husky pre-commit hook invokes a global pnpm binary that is not available on this Windows PATH, so I committed with --no-verify after running the equivalent focused commands above through npx pnpm@9.15.4.
  • No UI demo video is included because this is a backend/plugin unit-test-only coverage change with no visible UI behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant