import test from "node:test"; import assert from "node:assert/strict"; import { TidePoolContent } from "./components/tide-pool.tsx"; import { Shell } from "./components/shell.tsx"; import { Artifacts } from "./components/artifacts.tsx"; import { otherEntries } from "./components/other-index.tsx"; test("public tide pool keeps the shell and progressive enhancement with an immersive surface", async () => { const html = (await ).toString(); assert.ok(html.includes('class="page-container"')); assert.ok(html.includes('class="tide-exit" href="/other"')); assert.ok(html.includes('Tap the water to drop brass.')); assert.ok(!html.includes("page-container-wide")); assert.ok(!html.includes('name="robots"')); assert.ok(html.includes('data-veiled="loading"')); assert.ok(html.includes('class="tide-veil-ring"')); assert.ok(html.includes('class="tide-mark" aria-hidden="true">Tide pool

')); assert.ok(html.includes("