test: move telegram fetch coverage into extensions

This commit is contained in:
Peter Steinberger
2026-04-03 11:35:07 +01:00
parent e0c4458a2f
commit bb3ea2137b
9 changed files with 132 additions and 369 deletions

View File

@@ -447,14 +447,14 @@ describe("scripts/test-parallel lane planning", () => {
expect(output).not.toContain("vitest.unit.config.ts");
});
it("routes telegram fetch network policy through the extensions config", () => {
it("routes telegram fetch transport coverage through the extensions config", () => {
const output = runPlannerPlan([
"--explain",
bundledPluginFile("telegram", "src/fetch.network-policy.test.ts"),
bundledPluginFile("telegram", "src/fetch.test.ts"),
]);
expect(output).toContain("surface=extensions");
expect(output).toContain("reasons=extensions-surface");
expect(output).toContain("extensions-surface");
expect(output).toContain("vitest.extensions.config.ts");
expect(output).not.toContain("vitest.channels.config.ts");
});