diff options
Diffstat (limited to 'test/unit/input/asyncify.js')
-rw-r--r-- | test/unit/input/asyncify.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/unit/input/asyncify.js b/test/unit/input/asyncify.js index 0dcd87302..28e82d296 100644 --- a/test/unit/input/asyncify.js +++ b/test/unit/input/asyncify.js @@ -3,6 +3,9 @@ function assert(x, y) { if (!x) throw (y || 'assertion failed') + '\n' + new Error().stack; } +// This is the reason we have a package.json file alongside us, to tell node +// that we are not an ES6 module (as a parent directory might have one with +// type: "module" which would then cause breakage). var fs = require('fs'); function sleepTests() { |