shim renders app shell
This commit is contained in:
parent
c210168d65
commit
51728a5401
3 changed files with 53 additions and 5 deletions
|
|
@ -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())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue