mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 22:01:47 +00:00
bun run prettier
This commit is contained in:
committed by
github-actions[bot]
parent
c7c7c19d32
commit
c8b2814982
@@ -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")));
|
||||
});
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -4,7 +4,6 @@ import {
|
||||
readableStreamToArrayBuffer,
|
||||
readableStreamToBlob,
|
||||
readableStreamToBytes,
|
||||
readableStreamToText,
|
||||
serve,
|
||||
Server,
|
||||
} from "bun";
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user