2016-12-31 07:38:06 +08:00
|
|
|
const assert = require('assert');
|
2011-02-03 01:56:32 +08:00
|
|
|
assert.notEqual(module, require.main, 'require.main should not == module');
|
|
|
|
assert.notEqual(module, process.mainModule,
|
|
|
|
'process.mainModule should not === module');
|