From cc2b4cf12535faa55eccff622f440a5999a62b10 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 25 Apr 2026 00:52:58 +0100 Subject: [PATCH] test(parallels): update npm smoke guard expectation --- test/scripts/parallels-npm-update-smoke.test.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/test/scripts/parallels-npm-update-smoke.test.ts b/test/scripts/parallels-npm-update-smoke.test.ts index 46babc1889a..21ea93d2244 100644 --- a/test/scripts/parallels-npm-update-smoke.test.ts +++ b/test/scripts/parallels-npm-update-smoke.test.ts @@ -21,10 +21,14 @@ describe("parallels npm update smoke", () => { expect(script).toContain("delete entries.whatsapp"); expect(script).toContain("Remove-FuturePluginEntries\n Stop-OpenClawGatewayProcesses"); expect(script).toContain("scrub_future_plugin_entries\nstop_openclaw_gateway_processes"); - expect(script).toContain("$env:OPENCLAW_DISABLE_BUNDLED_PLUGINS = '1'"); - expect(script).toContain( + expect(script).not.toContain("$env:OPENCLAW_DISABLE_BUNDLED_PLUGINS = '1'\n & $Path update"); + expect(script).not.toContain( "OPENCLAW_DISABLE_BUNDLED_PLUGINS=1 /opt/homebrew/bin/openclaw update", ); - expect(script).toContain("OPENCLAW_DISABLE_BUNDLED_PLUGINS=1 openclaw update"); + expect(script).not.toContain("OPENCLAW_DISABLE_BUNDLED_PLUGINS=1 openclaw update"); + expect(script).toContain( + "OPENCLAW_DISABLE_BUNDLED_PLUGINS=1 /opt/homebrew/bin/openclaw gateway stop", + ); + expect(script).toContain("OPENCLAW_DISABLE_BUNDLED_PLUGINS=1 openclaw gateway stop"); }); });