From 7690e9d780c46119dcb7fe954714f4a9507dc7ac Mon Sep 17 00:00:00 2001 From: RiskyMH Date: Mon, 13 Jan 2025 22:42:10 +0100 Subject: [PATCH] oops test --- test/cli/install/bun-pack.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cli/install/bun-pack.test.ts b/test/cli/install/bun-pack.test.ts index 5d35031a07b7bf..317889809b5385 100644 --- a/test/cli/install/bun-pack.test.ts +++ b/test/cli/install/bun-pack.test.ts @@ -643,7 +643,7 @@ describe("bundledDependnecies", () => { ]); }); - test(`basic should throw`, async () => { + test(`invalid bundledDependencies value should throw`, async () => { await Promise.all([ write( join(packageDir, "package.json"), @@ -666,7 +666,7 @@ describe("bundledDependnecies", () => { const err = await Bun.readableStreamToText(stderr); expect(err).toContain("error:"); - expect(err).toContain("to be an array of strings or boolean"); + expect(err).toContain("to be a boolean or an array of strings"); expect(err).not.toContain("warning:"); expect(err).not.toContain("failed"); expect(err).not.toContain("panic:");