CI / test (push) Failing after 16s
compositor/session round-trips a toy snapshot of server state (counters, clients, toplevels) through EDN and edits one field by path: groundwork for persisting compositor state across a component swap. Adds the jqlssg/moonedn dependency. Builds and passes on native and wasm. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
9 lines
297 B
MoonBit
9 lines
297 B
MoonBit
///|
|
|
test "edn round trip and edit" {
|
|
let v = @edn.read(sample())
|
|
inspect(@edn.write(v) == @edn.write(@edn.read(@edn.write(v))), content="true")
|
|
let out = bump_serial(sample())
|
|
inspect(out.contains(":next-serial 500"), content="true")
|
|
inspect(out.contains("\"foot\""), content="true")
|
|
}
|