Skip to content

Commit

Permalink
test: fix case to allow bun-debug (#15660)
Browse files Browse the repository at this point in the history
Co-authored-by: Don Isaac <[email protected]>
  • Loading branch information
DonIsaac and Don Isaac authored Dec 9, 2024
1 parent 2c1dea8 commit af4f1c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cli/install/bun-run.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ it("should run with bun instead of npm even with leading spaces", async () => {
env: bunEnv,
});

expect(stderr.toString()).toBe("$ bun run other_script \n$ echo hi \n");
expect(stderr.toString()).toMatch(/\$ bun(-debug)? run other_script \n\$ echo hi \n/);
expect(stdout.toString()).toEndWith("hi\n");
expect(exitCode).toBe(0);
}
Expand Down

0 comments on commit af4f1c7

Please sign in to comment.