@@ -23,6 +23,7 @@ const PLUGINS_DOCKER_E2E_PATH = "scripts/e2e/plugins-docker.sh";
|
23 | 23 | const PLUGINS_DOCKER_SWEEP_PATH = "scripts/e2e/lib/plugins/sweep.sh"; |
24 | 24 | const PLUGINS_DOCKER_MARKETPLACE_PATH = "scripts/e2e/lib/plugins/marketplace.sh"; |
25 | 25 | const PLUGINS_DOCKER_CLAWHUB_PATH = "scripts/e2e/lib/plugins/clawhub.sh"; |
| 26 | +const PLUGINS_DOCKER_ASSERTIONS_PATH = "scripts/e2e/lib/plugins/assertions.mjs"; |
26 | 27 | const PLUGIN_UPDATE_DOCKER_E2E_PATH = "scripts/e2e/plugin-update-unchanged-docker.sh"; |
27 | 28 | const PLUGIN_UPDATE_SCENARIO_PATH = "scripts/e2e/lib/plugin-update/unchanged-scenario.sh"; |
28 | 29 | const PLUGIN_UPDATE_PROBE_PATH = "scripts/e2e/lib/plugin-update/probe.mjs"; |
@@ -140,6 +141,7 @@ describe("docker build helper", () => {
|
140 | 141 | const pluginsSweep = readFileSync(PLUGINS_DOCKER_SWEEP_PATH, "utf8"); |
141 | 142 | const pluginsMarketplace = readFileSync(PLUGINS_DOCKER_MARKETPLACE_PATH, "utf8"); |
142 | 143 | const pluginsClawhub = readFileSync(PLUGINS_DOCKER_CLAWHUB_PATH, "utf8"); |
| 144 | +const pluginsAssertions = readFileSync(PLUGINS_DOCKER_ASSERTIONS_PATH, "utf8"); |
143 | 145 | const pluginUpdateScenario = readFileSync(PLUGIN_UPDATE_SCENARIO_PATH, "utf8"); |
144 | 146 | const pluginUpdateProbe = readFileSync(PLUGIN_UPDATE_PROBE_PATH, "utf8"); |
145 | 147 | const packageCompat = readFileSync(PACKAGE_COMPAT_PATH, "utf8"); |
@@ -171,9 +173,7 @@ describe("docker build helper", () => {
|
171 | 173 | "Package $package_version must support gateway install --wrapper.", |
172 | 174 | ); |
173 | 175 | expect(scripts.join("\n")).toContain("expected persisted update.channel dev"); |
174 | | -expect(scripts.join("\n")).toContain( |
175 | | -"expected modern installRecords in installed plugin index", |
176 | | -); |
| 176 | +expect(pluginsAssertions).toContain("expected modern installRecords in installed plugin index"); |
177 | 177 | }); |
178 | 178 | |
179 | 179 | it("keeps bundled plugin install/uninstall sweep chunkable", () => { |
|