Files
bun.sh/test/ecosystem/runner/script.js
Ashcon Partovi 2f1733b48f More test
2023-12-01 15:37:42 -08:00

10 lines
211 B
JavaScript

import { basename } from "node:path";
export async function run(path) {
const { test, expect } = Bun.jest(path);
test(basename(path), async () => {
expect(import(path)).resolves.not.toThrow();
});
}