Skip to content

Commit 882bd5a

Browse files
committed
Clarify that ENOENT handling is potentially specific to Testdouble.js
1 parent 097bb29 commit 882bd5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/runner_base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class RunnerBase {
8484
} catch (e) {
8585
if (e.code !== 'MODULE_NOT_FOUND' // CommonJS
8686
&& e.code !== 'ERR_MODULE_NOT_FOUND' // ESM
87-
&& e.code !== 'ENOENT') { // ESM w/custom loader
87+
&& e.code !== 'ENOENT') { // Testdouble.js, maybe other ESM loaders too
8888
throw e;
8989
}
9090
}

0 commit comments

Comments
 (0)