packages/babel-helper-plugin-test-runner/esm.mjs
raw| 1 | import _cjs from "./lib/index.js"; |
| 2 | const cjs = _cjs.default || _cjs; |
| 3 | |
| 4 | const adapter = cjs.bind(); |
| 5 | |
| 6 | // For backward compatibility with the CJS-only version, this makes |
| 7 | // import _x from "@babel/helper-plugin-test-runner" |
| 8 | // const x = _x.default |
| 9 | // still work. |
| 10 | adapter.default = cjs; |
| 11 | |
| 12 | export default adapter; |