mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
e5499b32cf
PR-URL: https://github.com/nodejs/node/pull/10541 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Italo A. Casas <me@italoacasas.com>
5 lines
233 B
JavaScript
5 lines
233 B
JavaScript
const assert = require('assert');
|
|
assert.notStrictEqual(module, require.main, 'require.main should not == module');
|
|
assert.notStrictEqual(module, process.mainModule,
|
|
'process.mainModule should not === module');
|