blob: cddd2c051778688186bc0c393f3f6509e37959ac (
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: any) {
expect(Bun.inspect(e.position).length > 0).toBe(true);
}
});
});
|