HOLY FUCK big refactor

This commit is contained in:
Zack Radisic
2024-02-27 14:44:13 -08:00
parent 468b21f31b
commit ee6f2c8a75
18 changed files with 1182 additions and 1039 deletions

View File

@@ -38,12 +38,12 @@ afterAll(async () => {
const BUN = process.argv0;
describe("bunshell", () => {
describe.todo("concurrency", () => {
describe("concurrency", () => {
test("writing to stdout", async () => {
await Promise.all([
TestBuilder.command`echo 1`.stdout("1\n").run(),
TestBuilder.command`echo 2`.stdout("2\n").run(),
TestBuilder.command`echo 3`.stdout("2\n").run(),
TestBuilder.command`echo 3`.stdout("3\n").run(),
]);
});
});
@@ -116,7 +116,7 @@ describe("bunshell", () => {
});
describe("quiet", async () => {
test("basic", async () => {
test.todo("basic", async () => {
// Check its buffered
{
const { stdout, stderr } = await $`BUN_DEBUG_QUIET_LOGS=1 ${BUN} -e "console.log('hi'); console.error('lol')"`;