blob: 939f0351699195f4d11907b25060ea66e150f9cb (
plain)
1
2
3
4
5
6
7
8
9
10
|
console.error(__filename);
console.error(module.paths.join('\n') + '\n');
// this should work, and get the one that doesn't throw
const assert = require('assert');
assert.strictEqual(require('bar'), require('../bar.js'));
// this should work, and get the one in ./node_modules/asdf.js
assert.strictEqual(require('asdf'), require('./node_modules/asdf.js'));
module.exports = 'eye catcher';
|