mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-05 22:32:12 +00:00
test: reroute telegram fetch network policy suite
This commit is contained in:
@@ -447,6 +447,18 @@ describe("scripts/test-parallel lane planning", () => {
|
||||
expect(output).not.toContain("vitest.unit.config.ts");
|
||||
});
|
||||
|
||||
it("routes telegram fetch network policy through the extensions config", () => {
|
||||
const output = runPlannerPlan([
|
||||
"--explain",
|
||||
bundledPluginFile("telegram", "src/fetch.network-policy.test.ts"),
|
||||
]);
|
||||
|
||||
expect(output).toContain("surface=extensions");
|
||||
expect(output).toContain("reasons=extensions-surface");
|
||||
expect(output).toContain("vitest.extensions.config.ts");
|
||||
expect(output).not.toContain("vitest.channels.config.ts");
|
||||
});
|
||||
|
||||
it("prints the planner-backed CI manifest as JSON", () => {
|
||||
const output = runPlannerPlan(["--ci-manifest"], {
|
||||
GITHUB_EVENT_NAME: "pull_request",
|
||||
|
||||
Reference in New Issue
Block a user