blob: 226dd396b432e8ecfd26151e6f55848538992b40 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { it, expect } from "bun:test";
const { path, dir } = import.meta;
it("import.meta.dir", () => {
expect(dir.endsWith("/bun/integration/bunjs-only-snippets")).toBe(true);
});
it("import.meta.path", () => {
expect(
path.endsWith("/bun/integration/bunjs-only-snippets/import-meta.test.js")
).toBe(true);
});
|