From a42c326de60f34fb31645fa7b64cfd04915de463 Mon Sep 17 00:00:00 2001 From: Claude Bot Date: Mon, 1 Dec 2025 04:57:05 +0000 Subject: [PATCH] chore: remove panic assertions from tarball integrity tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Per review feedback, tests should not assert absence of "panic" - they should rely on exit code and content assertions instead. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- test/cli/install/tarball-integrity.test.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/cli/install/tarball-integrity.test.ts b/test/cli/install/tarball-integrity.test.ts index 37b34f073b..5f2aff721e 100644 --- a/test/cli/install/tarball-integrity.test.ts +++ b/test/cli/install/tarball-integrity.test.ts @@ -45,8 +45,6 @@ describe("tarball integrity", () => { }, }); - expect(installResult.stdout.toString()).not.toContain("panic"); - expect(installResult.stderr.toString()).not.toContain("panic"); expect(installResult.exitCode).toBe(0); // Read the lockfile and verify it contains the integrity hash @@ -96,7 +94,6 @@ describe("tarball integrity", () => { }, }); - expect(firstInstall.stdout.toString()).not.toContain("panic"); expect(firstInstall.exitCode).toBe(0); // Verify lockfile has integrity