mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-09 16:21:15 +00:00
test: route telegram plugin tests through extensions
This commit is contained in:
@@ -58,7 +58,6 @@ const targetedChannelProxyFiles = [
|
||||
...sharedTargetedChannelProxyFiles,
|
||||
bundledPluginFile("discord", "src/monitor/message-handler.preflight.acp-bindings.test.ts"),
|
||||
bundledPluginFile("discord", "src/monitor/monitor.agent-components.test.ts"),
|
||||
bundledPluginFile("telegram", "src/bot.create-telegram-bot.test.ts"),
|
||||
bundledPluginFile("whatsapp", "src/monitor-inbox.streams-inbound-messages.test.ts"),
|
||||
];
|
||||
|
||||
@@ -447,10 +446,10 @@ describe("scripts/test-parallel lane planning", () => {
|
||||
expect(output).not.toContain("vitest.unit.config.ts");
|
||||
});
|
||||
|
||||
it("routes telegram fetch transport coverage through the extensions config", () => {
|
||||
it("routes telegram plugin coverage through the extensions config", () => {
|
||||
const output = runPlannerPlan([
|
||||
"--explain",
|
||||
bundledPluginFile("telegram", "src/fetch.test.ts"),
|
||||
bundledPluginFile("telegram", "src/bot.create-telegram-bot.test.ts"),
|
||||
]);
|
||||
|
||||
expect(output).toContain("surface=extensions");
|
||||
|
||||
@@ -822,12 +822,12 @@ describe("test planner", () => {
|
||||
|
||||
expect(manifest.jobs.buildArtifacts.enabled).toBe(true);
|
||||
expect(manifest.shardCounts.unit).toBe(4);
|
||||
expect(manifest.shardCounts.channels).toBe(4);
|
||||
expect(manifest.shardCounts.channels).toBe(3);
|
||||
expect(manifest.shardCounts.extensionFast).toBeGreaterThanOrEqual(4);
|
||||
expect(manifest.shardCounts.extensionFast).toBeLessThanOrEqual(6);
|
||||
expect(manifest.shardCounts.windows).toBe(6);
|
||||
expect(manifest.shardCounts.macosNode).toBe(9);
|
||||
expect(manifest.jobs.checks.matrix.include).toHaveLength(8);
|
||||
expect(manifest.jobs.checks.matrix.include).toHaveLength(7);
|
||||
expect(manifest.jobs.checksWindows.matrix.include).toHaveLength(6);
|
||||
expect(manifest.jobs.macosNode.matrix.include).toHaveLength(9);
|
||||
expect(manifest.jobs.checksFast.matrix.include).toHaveLength(
|
||||
|
||||
Reference in New Issue
Block a user