fix: finish 2.9.0 plugin moves and get every check green

This commit is contained in:
LukeGus committed 2026-09-24 23:35:18 -05:00
1 parent 8c1e02af89
commit 6489b62ece
335 files changed
+29878 -17749

No files matched your search

+9
View File
@@ -340,3 +340,12 @@ describe("parsePluginWsUrl", () => {
expect(ws.parsePluginWsUrl(undefined)).toBeNull();
});
});
describe("ctx.ws clashes", () => {
it("refuses the same path twice", () => {
ws.registerPluginWsRoute("sample-plugin", "/twice", () => {}, DECLARED);
expect(() =>
ws.registerPluginWsRoute("sample-plugin", "/twice", () => {}, DECLARED),
).toThrow(/already registered/);
});
});