blob: 4db6319cc15d28ac92525fdca72e297637087c28 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import { expect, it, describe } from "bun:test";
describe("ResolveError", () => {
it("position object does not segfault", async () => {
try {
await import("./file-importing-nonexistent-file.js");
} catch (e) {
expect(Bun.inspect(e.position).length > 0).toBe(true);
}
});
});
|