bun run prettier (#19807)

Co-authored-by: 190n <7763597+190n@users.noreply.github.com>
This commit is contained in:
190n
2025-05-20 20:01:38 -07:00
committed by GitHub
parent 259bf47abd
commit e23491391b
2 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
import { join, dirname } from "node:path";
import { existsSync } from "node:fs"; import { existsSync } from "node:fs";
import { dirname, join } from "node:path";
const bunRepo = dirname(import.meta.dir); const bunRepo = dirname(import.meta.dir);
const webkitRepo = join(bunRepo, "vendor/WebKit"); const webkitRepo = join(bunRepo, "vendor/WebKit");

View File

@@ -300,9 +300,9 @@ describe("TextDecoder", () => {
}); });
it("should support undefined options", () => { it("should support undefined options", () => {
expect(() => { expect(() => {
const decoder = new TextDecoder("utf-8", undefined); const decoder = new TextDecoder("utf-8", undefined);
}).not.toThrow(); }).not.toThrow();
}); });
}); });