Skip to content

refactor(studio): share the flat-inspector test render harness across panel suites - #2919

Open
vanceingalls wants to merge 1 commit into
mainfrom
vst-0-test-utils
Open

refactor(studio): share the flat-inspector test render harness across panel suites#2919
vanceingalls wants to merge 1 commit into
mainfrom
vst-0-test-utils

Conversation

@vanceingalls

@vanceingalls vanceingalls commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Groundwork split out of the VST stack so it can be reviewed on its own — no VST code here.

The eight flat property-panel test suites each carried an identical copy of the React act-environment setup and a local renderInto() helper. Both move into testRenderUtils.tsx.

Net +54/-122. No behavior change: setupReactActEnvironment() registers the same document.body cleanup each file registered inline, and renderInto() is the same createRoot + act wrapper.

Base of the VST stack: #2920

🤖 Generated with Claude Code

… panel suites

The eight flat property-panel suites each carried an identical copy of the
React act-environment setup and a local renderInto() helper. Extract both into
testRenderUtils so the harness has one definition to fix.

No behavior change: setupReactActEnvironment() registers the same
document.body cleanup each file registered inline, and renderInto() is the
same createRoot + act wrapper.
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