import { render, CustomElement, Host, defineElement, state, prop } from "@cerxes/csx"; import { testContainer } from "../utils/test-container"; import { nextAnimationFrame } from "../utils/next-animation-frame"; describe("Function components", () => { /** * Assert that a basic component renders as expected */ test("Simple example-component", async () => { function FuncComponent(props, children){ return (