Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
haroun committed Sep 18, 2024
1 parent 93d22f6 commit 422dbbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@ async function apostrophe(options, telemetry, rootSpan) {
// it also makes sure we encounter mocha along the way
// and throws an exception if we don't
function findTestModule() {
// TODO: support esm
let m = module;
const testFor = `node_modules${path.sep}mocha`;
if (!require.main.filename.includes(testFor)) {
Expand Down

0 comments on commit 422dbbc

Please sign in to comment.