loading
` + `${JSON.stringify({ state: {}, states: { [FILE]: { version: "11aa22bb", declarations: [{ name: "album", kind: "string", default: '""', scope: "region", value: "" }], reads: { album: [0] }, conditionals: { 1: { arms: [{ branch: 0, condition: ["album", null, "present"] }], else: 1 } }, server: { branches: { 1: [{ index: 2, node_path: [0] }] }, reads: { album: [{ index: 2, node_path: [0] }] } }, fragments: { 1: { fallback: 1, reads: [2], on: ["album"], delay: 400, hold: 40 } }, }, }, })}` let runtime: Runtime | null = null afterEach(() => { runtime?.stop() runtime = null document.body.innerHTML = "" }) test("an empty fragment shows its fallback immediately even with a delay", async () => { document.body.innerHTML = PAGE const transport = vi.fn(() => new Promise