diff options
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 6a879c758..8444cef33 100644 --- a/integration/bunjs-only-snippets/response.file.test.js +++ b/integration/bunjs-only-snippets/response.file.test.js @@ -34,7 +34,7 @@ it("Bun.write('out.txt', 'string')", async () => {        } catch (e) {}      }      await gcTick(); -    await Bun.write("/tmp/out.txt", "string"); +    expect(await Bun.write("/tmp/out.txt", "string")).toBe("string".length);      await gcTick();      const out = Bun.file("/tmp/out.txt");      await gcTick(); | 
