shim renders app shell

This commit is contained in:
Abel Luck 2026-03-30 14:16:15 +02:00
parent c210168d65
commit 51728a5401
3 changed files with 53 additions and 5 deletions

View file

@ -52,7 +52,10 @@ def test_root_get_serves_datastar_shim() -> None:
assert 'data-init="@post(window.location.pathname +' in body
assert "retryMaxCount: Infinity" in body
assert "data-on:online__window=" in body
assert '<main id="morph"></main>' in body
assert '<main id="morph"' in body
assert 'href="/sources"' in body
assert 'href="/runs"' in body
assert "Connecting" in body
asyncio.run(run())