Run formatter

This commit is contained in:
Jarred Sumner
2024-09-06 18:13:08 -07:00
parent 4dbd246c49
commit 1458fcca4a
5 changed files with 7 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
import { expect, test } from "bun:test";
import { join } from "path";
import "harness";
import { join } from "path";
test("shell should stay alive while a builtin command is in progress", async () => {
expect([join(import.meta.dir, "shell-keepalive-fixture-1.js")]).toRun();

View File

@@ -1,5 +1,5 @@
import type { Server } from "bun";
import { afterAll, beforeAll, expect, test, describe } from "bun:test";
import { afterAll, beforeAll, describe, expect, test } from "bun:test";
import { tls as tlsCert } from "harness";
import { once } from "node:events";
import net from "node:net";

View File

@@ -1,10 +1,8 @@
import tls, { TLSSocket, connect as tlsConnect, checkServerIdentity, createServer, Server } from "tls";
import { describe, expect, it } from "bun:test";
import { tls as COMMON_CERT_ } from "harness";
import net from "net";
import { join } from "path";
import { it, expect, describe } from "bun:test";
import { tls as COMMON_CERT_ } from "harness";
import { join } from "path";
import tls, { checkServerIdentity, connect, TLSSocket } from "tls";
import tls, { checkServerIdentity, connect as tlsConnect, TLSSocket } from "tls";
import { Duplex } from "node:stream";

View File

@@ -1,4 +1,4 @@
import { test, expect } from "bun:test";
import { expect, test } from "bun:test";
test("Request with streaming body can be cloned", async () => {
const stream = new ReadableStream({

View File

@@ -1,5 +1,4 @@
import { test, expect, it } from "bun:test";
import { join } from "path";
import { expect, test } from "bun:test";
import { bunEnv, bunExe, isWindows, tempDirWithFiles } from "harness";
test.skipIf(isWindows)("verify that we forward SIGINT from parent to child in bun run", () => {