mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
11 lines
276 B
TypeScript
11 lines
276 B
TypeScript
import { test } from "bun:test";
|
|
|
|
test("importing empty files in the async transpiler does not crash", async () => {
|
|
const promises = new Array(10);
|
|
for (let i = 0; i < 10; i++) {
|
|
promises.push(import("./empty.ts" + "?i" + i));
|
|
}
|
|
|
|
await Promise.all(promises);
|
|
});
|