Files
bun.sh/test/js/node/url/pathToFileURL.test.ts
2025-01-26 22:35:45 -08:00

6 lines
201 B
TypeScript

import { test, expect } from "bun:test";
import path from "path";
test("pathToFileURL doesn't leak memory", () => {
expect([path.join(import.meta.dir, "pathToFileURL-leak-fixture.js")]).toRun();
});