bun run prettier

This commit is contained in:
Jarred-Sumner
2025-07-10 09:19:22 +00:00
committed by github-actions[bot]
parent c7c7c19d32
commit c8b2814982
6 changed files with 7 additions and 14 deletions

View File

@@ -2266,6 +2266,6 @@ it("should add local tarball dependency", async () => {
const package_json = await file(join(package_dir, "node_modules", "baz", "package.json")).json();
expect(package_json.name).toBe("baz");
expect(package_json.version).toBe("0.0.3");
expect(await file(join(package_dir, "package.json")).text()).toInclude('"baz-0.0.3.tgz"'),
await access(join(package_dir, "bun.lockb"));
(expect(await file(join(package_dir, "package.json")).text()).toInclude('"baz-0.0.3.tgz"'),
await access(join(package_dir, "bun.lockb")));
});

View File

@@ -1,4 +1,4 @@
import { readableStreamToText, spawn } from "bun";
import { spawn } from "bun";
import { afterAll, beforeAll, describe, expect, test } from "bun:test";
import { bunEnv, bunExe, DirectoryTree, gunzipJsonRequest, lazyPromiseLike, tempDirWithFiles } from "harness";
import { join } from "node:path";

View File

@@ -486,7 +486,7 @@ it("should work when moving workspace packages", async () => {
await Bun.$`${bunExe()} i`.env(bunEnv).cwd(package_dir);
await Bun.$/* sh */ `
await Bun.$ /* sh */ `
mkdir config
# change workspaces from "packages/*" to "config/*"
@@ -558,7 +558,7 @@ it("should work when renaming a single workspace package", async () => {
await Bun.$`${bunExe()} i`.env(bunEnv).cwd(package_dir);
await Bun.$/* sh */ `
await Bun.$ /* sh */ `
echo ${JSON.stringify({
"name": "my-workspace",
version: "0.0.1",

View File

@@ -4,7 +4,6 @@ import {
readableStreamToArrayBuffer,
readableStreamToBlob,
readableStreamToBytes,
readableStreamToText,
serve,
Server,
} from "bun";

View File

@@ -1,4 +1,4 @@
import { file, readableStreamToText, spawn, version } from "bun";
import { file, spawn, version } from "bun";
import { describe, expect, test } from "bun:test";
const bodyTypes = [

View File

@@ -1,10 +1,4 @@
import {
readableStreamToArrayBuffer,
readableStreamToBlob,
readableStreamToBytes,
readableStreamToJSON,
readableStreamToText,
} from "bun";
import { readableStreamToArrayBuffer, readableStreamToBlob, readableStreamToBytes, readableStreamToText } from "bun";
import { describe, expect, test } from "bun:test";
describe("ByteBlobLoader", () => {