From 82e086775294bec2102bab7b2c8dd59b7c7cfcae Mon Sep 17 00:00:00 2001 From: Vincent Koc <25068+vincentkoc@users.noreply.github.com> Date: Sat, 11 Jul 2026 06:06:26 -0700 Subject: [PATCH] test(ci): update plugin contract fallback assertion --- test/scripts/plugin-contract-test-plan.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/scripts/plugin-contract-test-plan.test.ts b/test/scripts/plugin-contract-test-plan.test.ts index 4b3aa783864e..a9e60d1f7656 100644 --- a/test/scripts/plugin-contract-test-plan.test.ts +++ b/test/scripts/plugin-contract-test-plan.test.ts @@ -17,8 +17,10 @@ describe("scripts/lib/plugin-contract-test-plan.mjs", () => { // ci.yml imports the plan through the importTargetPlan fallback helper since // 7ae5996bb3c so historical target refs without the module keep working. + expect(workflow).toContain("const pluginContractPlan = await importTargetPlan("); + expect(workflow).toContain('"./scripts/lib/plugin-contract-test-plan.mjs",'); expect(workflow).toContain( - 'await importTargetPlan(\n "./scripts/lib/plugin-contract-test-plan.mjs"', + 'typeof pluginContractPlan.createPluginContractTestShards === "function"', ); expect(workflow).toContain("checks-fast-contracts-plugins-legacy"); expect(workflow).not.toContain(