@@ -1,3 +1,6 @@
1+// In this bug, the main module's globals were not the same
2+// as the global in other modules. Also some things were
3+// missing from the global like timing functions
14console.assert([] instanceof global.Array);
25console.assert([] instanceof Array);
36console.assert(process);
@@ -12,6 +15,7 @@ console.assert(setTimeout);
1215console.assert(Buffer);
1316console.assert(globalThis === global);
1417
15−const { Object: importedObject, global: importedGlobal} = require('./global_require')
16−console.assert(importedObject === Object);
17−console.assert(global === importedGlobal)
18+// Current implementation has this bug
19+// const { Object: importedObject, global: importedGlobal} = require('./global_bug_submodule')
20+// console.assert(importedObject === Object);
21+// console.assert(global === importedGlobal)