@babel/helper-plugin-test-runner
Version:
Helper function to support test runner
13 lines (10 loc) • 374 B
JavaScript
import testRunner from '@babel/helper-transform-fixture-test-runner';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
function index (loc) {
const fixtures = new URL("./fixtures", loc);
const name = path.basename(fileURLToPath(new URL("..", loc)));
testRunner(fixtures, name);
}
export { index as default };
//# sourceMappingURL=index.js.map