diff options
author | 2022-04-23 03:15:27 -0700 | |
---|---|---|
committer | 2022-04-23 03:15:27 -0700 | |
commit | 683b171c3ffc54957e1f02952938ff010fdcbbe0 (patch) | |
tree | 9ff186957214f6bccc696f5093cb88b0e39a40aa /integration/bunjs-only-snippets/response.file.test.js | |
parent | ea241fcec7add6187ec915ed0b3983f3be0529f9 (diff) | |
download | bun-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.js | 2 |
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! |