<Greeting name="Tomas" age={50} gender="male" />
<Greeting name="Valeria" gender="female" />
type Props = {}
export function Greeting(props: Props) {
return <div></div>
}
dom.it (
"Renders Other",
<Greeting name="Baby" gender="male" age={0} />,
async function () {
assert.exists(
await dom.findByText("Hello Baby, male, age 0")
);
}
)