import { test } from "node:test";
import * as engine from "./ssr.ts";
test("sanity", (t) => t.assert.equal(engine.ssrSync("gm <3").text, "gm <3"));
test("simple tree", (t) =>
t.assert.equal(
engine.ssrSync(
hello world
haha
{1}|
{0}|
{true}|
{false}|
{null}|
{undefined}|
,
).text,
'hello world
haha
1|0|||||',
));