mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
fix(ci): repair Slack enterprise fixture routing (#122589)
This commit is contained in:
@@ -321,7 +321,9 @@ describe("auth.test boot call", () => {
|
||||
dmPolicy: "disabled",
|
||||
groupPolicy: "open",
|
||||
slashCommand: { enabled: true, name: "openclaw" },
|
||||
channels: { C12345678: { allow: true, requireMention: true } },
|
||||
channels: {
|
||||
"team:TWORKSPACE:channel:C12345678": { allow: true, requireMention: true },
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
@@ -886,7 +888,9 @@ describe("connected identity health", () => {
|
||||
slack: {
|
||||
dmPolicy: "disabled",
|
||||
groupPolicy: "open",
|
||||
channels: { C12345678: { allow: true, requireMention: true } },
|
||||
channels: {
|
||||
"team:TWORKSPACE:channel:C12345678": { allow: true, requireMention: true },
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
@@ -542,6 +542,13 @@ const PRECISE_SOURCE_TEST_TARGETS = new Map<string, string[]>([
|
||||
"src/plugins/contracts/tts.contract.test.ts",
|
||||
],
|
||||
],
|
||||
[
|
||||
"extensions/slack/src/monitor/enterprise-install.ts",
|
||||
[
|
||||
"extensions/slack/src/monitor/enterprise-install.test.ts",
|
||||
"extensions/slack/src/monitor/provider.auth-test-token.test.ts",
|
||||
],
|
||||
],
|
||||
]);
|
||||
const DOCS_CONFIG_EXAMPLES_TEST_TARGET = "src/config/docs-config-examples.test.ts";
|
||||
const RUNTIME_SIDECAR_BASELINE_OWNER_TEST_TARGETS = ["src/plugins/bundled-plugin-metadata.test.ts"];
|
||||
|
||||
@@ -1932,6 +1932,16 @@ describe("scripts/test-projects changed-target routing", () => {
|
||||
]);
|
||||
});
|
||||
|
||||
it("routes Slack enterprise install changes through both owning tests", () => {
|
||||
expectChangedTargets(
|
||||
["extensions/slack/src/monitor/enterprise-install.ts"],
|
||||
[
|
||||
"extensions/slack/src/monitor/enterprise-install.test.ts",
|
||||
"extensions/slack/src/monitor/provider.auth-test-token.test.ts",
|
||||
],
|
||||
);
|
||||
});
|
||||
|
||||
it("keeps unknown root surfaces cheap by default", () => {
|
||||
expect(
|
||||
resolveChangedTargetArgs(["--changed", "origin/main"], process.cwd(), () => [
|
||||
|
||||
Reference in New Issue
Block a user