From 683b171c3ffc54957e1f02952938ff010fdcbbe0 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Sat, 23 Apr 2022 03:15:27 -0700 Subject: :camera: --- integration/bunjs-only-snippets/response.file.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'integration/bunjs-only-snippets/response.file.test.js') diff --git a/integration/bunjs-only-snippets/response.file.test.js b/integration/bunjs-only-snippets/response.file.test.js index f05c875f0..2d0b6506e 100644 --- a/integration/bunjs-only-snippets/response.file.test.js +++ b/integration/bunjs-only-snippets/response.file.test.js @@ -107,7 +107,7 @@ it("Bun.file", async () => { }); it("Bun.file as a Blob", async () => { - const filePath = path.join(import.meta.url, "../fetch.js.txt"); + const filePath = path.join(import.meta.path, "../fetch.js.txt"); const fixture = fs.readFileSync(filePath, "utf8"); // this is a Blob object with the same interface as the one returned by fetch // internally, instead of a byte array, it stores the file path! -- cgit v1.2.3