From e23491391b5b25dfcf146182a604e2880d05106c Mon Sep 17 00:00:00 2001 From: 190n Date: Tue, 20 May 2025 20:01:38 -0700 Subject: [PATCH] `bun run prettier` (#19807) Co-authored-by: 190n <7763597+190n@users.noreply.github.com> --- scripts/sync-webkit-source.ts | 2 +- test/js/web/encoding/text-decoder.test.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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(); }); });