test: support legacy plugin cleanup package layout

This commit is contained in:
Peter Steinberger
2026-05-02 15:35:36 +01:00
parent 57e4a12165
commit 9d5a0d4094
2 changed files with 28 additions and 11 deletions

View File

@@ -229,6 +229,8 @@ describe("package artifact reuse", () => {
expect(packageJson).toContain("OPENCLAW_UPGRADE_SURVIVOR_PUBLISHED_BASELINE=1");
expect(publishedUpgradeSurvivor).toContain("validate_baseline_package_spec");
expect(publishedUpgradeSurvivor).toContain("openclaw@(beta|latest|");
expect(publishedUpgradeSurvivor).toContain("plugin_deps_cleanup_plugin_dirs");
expect(publishedUpgradeSurvivor).toContain('"$(package_root)/extensions/$plugin"');
expect(publishedUpgradeSurvivor).toContain("probe_gateway_endpoint");
expect(publishedUpgradeSurvivor).toContain(
"assert_legacy_plugin_dependency_debris_before_doctor",