mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
10 lines
210 B
JavaScript
10 lines
210 B
JavaScript
import { expect, it } from "bun:test";
|
|
|
|
it("__dirname should work", () => {
|
|
expect(import.meta.dir).toBe(__dirname);
|
|
});
|
|
|
|
it("__filename should work", () => {
|
|
expect(import.meta.path).toBe(__filename);
|
|
});
|