test(ci): update plugin contract fallback assertion

This commit is contained in:
Vincent Koc
2026-07-11 06:06:26 -07:00
committed by Vincent Koc
parent fc1a793ea0
commit 82e0867752

View File

@@ -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(