diff --git a/scripts/sync-webkit-source.ts b/scripts/sync-webkit-source.ts index 9e7eb2601f..425f85a4ff 100644 --- a/scripts/sync-webkit-source.ts +++ b/scripts/sync-webkit-source.ts @@ -1,5 +1,5 @@ -import { join, dirname } from "node:path"; import { existsSync } from "node:fs"; +import { dirname, join } from "node:path"; const bunRepo = dirname(import.meta.dir); const webkitRepo = join(bunRepo, "vendor/WebKit"); diff --git a/test/js/web/encoding/text-decoder.test.js b/test/js/web/encoding/text-decoder.test.js index 42738c4e88..6b6cce1e6b 100644 --- a/test/js/web/encoding/text-decoder.test.js +++ b/test/js/web/encoding/text-decoder.test.js @@ -300,9 +300,9 @@ describe("TextDecoder", () => { }); it("should support undefined options", () => { - expect(() => { - const decoder = new TextDecoder("utf-8", undefined); - }).not.toThrow(); + expect(() => { + const decoder = new TextDecoder("utf-8", undefined); + }).not.toThrow(); }); });