import { describe, expect, test } from "bun:test"; import { THEMES, THEME_COLORS, isTheme } from "../src/client/theme.ts"; const html = await Bun.file("src/client/index.html").text(); const css = await Bun.file("src/client/styles.css").text(); const manifest = await Bun.file("src/client/manifest.webmanifest").json(); /** Runs the inline startup script from index.html with a fake browser. */ function startup(saved: Record) { const script = html.match(/