diff --git a/test/resolver.js b/test/resolver.js index b82927b2..116bb242 100644 --- a/test/resolver.js +++ b/test/resolver.js @@ -268,17 +268,6 @@ test('without basedir', function (t) { }); }); -test('#25: node modules with the same name as node stdlib modules', function (t) { - t.plan(1); - - var resolverDir = path.join(__dirname, 'resolver/punycode'); - - resolve('punycode', { basedir: resolverDir }, function (err, res, pkg) { - if (err) t.fail(err); - t.equal(res, path.join(resolverDir, 'node_modules/punycode/index.js')); - }); -}); - test('#52 - incorrectly resolves module-paths like "./someFolder/" when there is a file of the same name', function (t) { t.plan(2); diff --git a/test/resolver_sync.js b/test/resolver_sync.js index 4a4fd477..5b8057fe 100644 --- a/test/resolver_sync.js +++ b/test/resolver_sync.js @@ -168,17 +168,6 @@ test('incorrect main', function (t) { t.end(); }); -test('#25: node modules with the same name as node stdlib modules', function (t) { - var resolverDir = path.join(__dirname, 'resolver/punycode'); - - t.equal( - resolve.sync('punycode', { basedir: resolverDir }), - path.join(resolverDir, 'node_modules/punycode/index.js') - ); - - t.end(); -}); - var stubStatSync = function stubStatSync(fn) { var fs = require('fs'); var statSync = fs.statSync;