diff options
author | 2022-06-20 21:35:22 -0700 | |
---|---|---|
committer | 2022-06-22 06:56:47 -0700 | |
commit | 41b03b5c4c426bd3f2a3c7c6aaf454cee11744f0 (patch) | |
tree | fd1819ed5dfbe58edfe971b7c05c2c59549b8251 /integration/bunjs-only-snippets/buffer.test.js | |
parent | bfa5b2955533a60b2f12e6ac65d4868efcaf5222 (diff) | |
download | bun-41b03b5c4c426bd3f2a3c7c6aaf454cee11744f0.tar.gz bun-41b03b5c4c426bd3f2a3c7c6aaf454cee11744f0.tar.zst bun-41b03b5c4c426bd3f2a3c7c6aaf454cee11744f0.zip |
Cleanup tests
Diffstat (limited to 'integration/bunjs-only-snippets/buffer.test.js')
-rw-r--r-- | integration/bunjs-only-snippets/buffer.test.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/integration/bunjs-only-snippets/buffer.test.js b/integration/bunjs-only-snippets/buffer.test.js index cbe204e63..dd5327ca3 100644 --- a/integration/bunjs-only-snippets/buffer.test.js +++ b/integration/bunjs-only-snippets/buffer.test.js @@ -1,5 +1,9 @@ import { gc } from "bun"; -import { describe, it, expect } from "bun:test"; +import { describe, it, expect, beforeEach, afterEach } from "bun:test"; +import { gc } from "./gc"; + +beforeEach(() => gc()); +afterEach(() => gc()); it("buffer", () => { var buf = new Buffer(20); |