Rocket Morph Conditionals
Tests that Rocket conditional templates run when component content is morphed.
Regression coverage: morphing previously reattached Rocket instances before conditional setup ran, so data-if/data-else-if/data-else never executed on morphed content. It also guards against component setup $$ writes being scoped to the instance instead of the Datastar root, which left $result at 0. This test morphs a component with three conditional chains; each branch sets a scoped signal, and a component effect writes to the shared $result. Passing means the conditional manager re-initializes after morph and scoped signals propagate to the host result.
Result:
Expected result on load:
1