aboutsummaryrefslogtreecommitdiff
path: root/integration/bunjs-only-snippets/response.file.test.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-04-23 03:15:27 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-04-23 03:15:27 -0700
commit683b171c3ffc54957e1f02952938ff010fdcbbe0 (patch)
tree9ff186957214f6bccc696f5093cb88b0e39a40aa /integration/bunjs-only-snippets/response.file.test.js
parentea241fcec7add6187ec915ed0b3983f3be0529f9 (diff)
downloadbun-683b171c3ffc54957e1f02952938ff010fdcbbe0.tar.gz
bun-683b171c3ffc54957e1f02952938ff010fdcbbe0.tar.zst
bun-683b171c3ffc54957e1f02952938ff010fdcbbe0.zip
:camera:
Diffstat (limited to 'integration/bunjs-only-snippets/response.file.test.js')
-rw-r--r--integration/bunjs-only-snippets/response.file.test.js2
1 files changed, 1 insertions, 1 deletions
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!