mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:20:43 +00:00
test(ci): update support boundary expectations
This commit is contained in:
@@ -298,6 +298,14 @@ const SOURCE_TEST_TARGETS = new Map([
|
||||
["src/memory-host-sdk/host/embeddings.test.ts"],
|
||||
],
|
||||
["src/memory-host-sdk/host/embeddings.ts", ["src/memory-host-sdk/host/embeddings.test.ts"]],
|
||||
[
|
||||
"src/plugin-sdk/test-helpers/directory-ids.ts",
|
||||
[
|
||||
"extensions/discord/src/directory-contract.test.ts",
|
||||
"extensions/slack/src/directory-contract.test.ts",
|
||||
"extensions/telegram/src/directory-contract.test.ts",
|
||||
],
|
||||
],
|
||||
[
|
||||
"src/auto-reply/reply/dispatch-from-config.ts",
|
||||
["src/auto-reply/reply/dispatch-from-config.test.ts"],
|
||||
|
||||
@@ -251,6 +251,17 @@ describe("scripts/test-projects changed-target routing", () => {
|
||||
expect(plan.targets).not.toContain("extensions/discord/src/directory-contract.test.ts");
|
||||
});
|
||||
|
||||
it("routes channel SDK helper edits through the tests that import them", () => {
|
||||
expect(resolveChangedTestTargetPlan(["src/plugin-sdk/test-helpers/directory-ids.ts"])).toEqual({
|
||||
mode: "targets",
|
||||
targets: [
|
||||
"extensions/discord/src/directory-contract.test.ts",
|
||||
"extensions/slack/src/directory-contract.test.ts",
|
||||
"extensions/telegram/src/directory-contract.test.ts",
|
||||
],
|
||||
});
|
||||
});
|
||||
|
||||
it("routes channel contract helper edits through contract shards", () => {
|
||||
const plan = resolveChangedTestTargetPlan([
|
||||
"src/channels/plugins/contracts/test-helpers/registry-backed-contract-shards.ts",
|
||||
|
||||
Reference in New Issue
Block a user