Skip to content

Commit

Permalink
Delete the two tests added for issue #25
Browse files Browse the repository at this point in the history
These are obviated by the shadowed_core test added in #148
  • Loading branch information
searls authored and ljharb committed Apr 5, 2018
1 parent 237b9ac commit b2e51ef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
11 changes: 0 additions & 11 deletions test/resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
11 changes: 0 additions & 11 deletions test/resolver_sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b2e51ef

Please sign in to comment.