Files
Andrew BradleyandGitHub def65b3013 Fix #1282: correct globals in [stdin], [eval], and <repl> contexts (#1333)
* add failing tests

* remove log statement from test

* add detailed tests for globals in <repl>, [stdin], and [eval]

* WIP fixing

* more WIP

* update tests

* WIP

* update packagelock

* fix tests

* Fix and tests

* fix test failure on windows

* fix programmatic test to cleanup potentially-polluted env prior

* modifying programmatic repl test to call out that `module` is unavailable before repl is started

* Update tests for Windows env

* Fix tests

* add retries around npm install in tests on windows

* lintfix
2021-06-08 15:28:32 -04:00

8 lines
238 B
JavaScript

console.log(
JSON.stringify({
stdinReport: typeof stdinReport !== 'undefined' && stdinReport,
evalReport: typeof evalReport !== 'undefined' && evalReport,
replReport: typeof replReport !== 'undefined' && replReport,
})
);