/** @jsx h */ import { h, render } from "preact"; import { InMemoryAccountContext } from "@blowater/nostr-sdk"; import { test_db_view, testEventBus } from "./_setup.test.ts"; import { EditProfile } from "./edit-profile.tsx"; const database = await test_db_view(); const ctx = InMemoryAccountContext.Generate(); render( , document.body, ); for await (const e of testEventBus.onChange()) { console.log(e); }