mirror of https://github.com/lukechilds/node.git
10 lines
377 B
10 lines
377 B
console.error(__filename);
|
|
console.error(module.paths.join('\n') + '\n');
|
|
// this should work, and get the one that doesn't throw
|
|
var assert = require('assert');
|
|
assert.equal(require('bar'), require('../bar.js'));
|
|
|
|
// this should work, and get the one in ./node_modules/asdf.js
|
|
assert.equal(require('asdf'), require('./node_modules/asdf.js'));
|
|
|
|
module.exports = 'eye catcher';
|
|
|