import { createStore } from "solid-js/store" import { render } from "solid-js/web" import { Grow } from "../src/session/composer/spring-height" const [state, setState] = createStore({ when: false, instant: false, closed: 0, mounts: 0 }) const host = document.createElement("div") /** One `Grow` with a counted child, and the number of times it reported a close. */ export function mountGrow() { host.dataset.testid = "grow-fixture" document.body.appendChild(host) render(() => { function Child() { setState("mounts", (count) => count + 1) return (