mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
chore: remove panic assertions from tarball integrity tests
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user