mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-19 07:11:37 +00:00
test(ci): update plugin contract fallback assertion
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user