Skip to content

Commit

Permalink
oops test
Browse files Browse the repository at this point in the history
  • Loading branch information
RiskyMH committed Jan 13, 2025
1 parent 9f4d303 commit 7690e9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cli/install/bun-pack.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand All @@ -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:");
Expand Down

0 comments on commit 7690e9d

Please sign in to comment.