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(