diff --git a/test/fixtures/es-modules/loop.mjs b/test/fixtures/es-modules/loop.mjs index 33a382bdde7dab..edd111abb9e9b7 100644 --- a/test/fixtures/es-modules/loop.mjs +++ b/test/fixtures/es-modules/loop.mjs @@ -7,4 +7,7 @@ while (t > 0) { console.log(`Outputed message #${k++}`); } } -process.exit(55); \ No newline at end of file +process.exit(55); + +// test/parallel/test-inspector-esm.js expects t and k to be context-allocated. +(function force_context_allocation() { return t + k; })