Merge branch 'main' into ciro/fix-Bun.write

This commit is contained in:
Ciro Spaciari
2024-12-09 16:21:19 -08:00
committed by GitHub

View File

@@ -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);
}