commit 367c409ee4430d30a142c2caadd8b49137f4a0a6
parent 2be56688c02771648c2e346a049e7266fe75da3c
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Mon, 9 Nov 2026 20:19:52 -0500
e2e: the lifecycle spec gives its citing site a cited scope through site-config
The e2e writeSite helper writes no citedChannels, so the delete's
sitesUpdated could not name the citing site.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/editor/e2e/ops-api.spec.ts b/editor/e2e/ops-api.spec.ts
@@ -149,7 +149,8 @@ test("a channel's lifecycle over ops: create on a site, list, re-site, rename, d
expect(
(await ops(request, "channel-config", { slug: "made-renamed-x", sites: [{ siteId: "mysite" }] })).body,
).toEqual({ ok: true });
- await writeSite("citer", { channels: [], citedChannels: [{ slug: "made-renamed-x" }] });
+ await writeSite("citer", { channels: [] });
+ expect((await ops(request, "site-config", { siteId: "citer", citedChannels: ["made-renamed-x"] })).status).toBe(200);
const CITER = `${testPaths().transcriptsDir}/sites/citer/site.json`;
const gone = await ops(request, "delete-channel", {
slug: "made-renamed-x",