mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
bun run prettier (#19807)
Co-authored-by: 190n <7763597+190n@users.noreply.github.com>
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
@@ -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();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user