diff options
author | 2023-01-31 17:55:16 -0800 | |
---|---|---|
committer | 2023-01-31 17:55:16 -0800 | |
commit | cc4326cd829decc95d1f1f23998f97705637e04b (patch) | |
tree | 9ccaa829b6d48af521d5e5fcdbabc0dac8d186af /test/bun.js/fileUrl.test.js | |
parent | c57b37d29f9d04780c7f7917789cf8b424710d23 (diff) | |
download | bun-cc4326cd829decc95d1f1f23998f97705637e04b.tar.gz bun-cc4326cd829decc95d1f1f23998f97705637e04b.tar.zst bun-cc4326cd829decc95d1f1f23998f97705637e04b.zip |
Re-run prettier after changes
Diffstat (limited to 'test/bun.js/fileUrl.test.js')
-rw-r--r-- | test/bun.js/fileUrl.test.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/bun.js/fileUrl.test.js b/test/bun.js/fileUrl.test.js index 7efa8f235..ebae570f8 100644 --- a/test/bun.js/fileUrl.test.js +++ b/test/bun.js/fileUrl.test.js @@ -2,9 +2,7 @@ import { expect, it, describe } from "bun:test"; import { pathToFileURL, fileURLToPath } from "bun"; describe("pathToFileURL", () => { it("should convert a path to a file url", () => { - expect(pathToFileURL("/path/to/file.js").href).toBe( - "file:///path/to/file.js", - ); + expect(pathToFileURL("/path/to/file.js").href).toBe("file:///path/to/file.js"); }); }); @@ -13,8 +11,6 @@ describe("fileURLToPath", () => { expect(fileURLToPath("file:///path/to/file.js")).toBe("/path/to/file.js"); }); it("should convert a URL to a path", () => { - expect(fileURLToPath(new URL("file:///path/to/file.js"))).toBe( - "/path/to/file.js", - ); + expect(fileURLToPath(new URL("file:///path/to/file.js"))).toBe("/path/to/file.js"); }); }); |