Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
dylan-conway committed Jan 27, 2025
1 parent 57c0390 commit edd4baf
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
32 changes: 32 additions & 0 deletions test/js/node/fs/abort-signal-leak-read-write-file-fixture.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions test/js/node/fs/abort-signal-leak-read-write-file.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { expect, test } from "bun:test";
import path from "path";

test("should not leak memory with already aborted signals", async () => {
expect([path.join(import.meta.dir, "abort-signal-leak-read-write-file-fixture.ts")]).toRun();
});

0 comments on commit edd4baf

Please sign in to comment.