Skip to content

Commit ce2ebb1

Browse files
searlsljharb
authored andcommitted
Delete the two tests added for issue #25
These are obviated by the shadowed_core test added in #148
1 parent 03fc586 commit ce2ebb1

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

test/resolver.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -268,17 +268,6 @@ test('without basedir', function (t) {
268268
});
269269
});
270270

271-
test('#25: node modules with the same name as node stdlib modules', function (t) {
272-
t.plan(1);
273-
274-
var resolverDir = path.join(__dirname, 'resolver/punycode');
275-
276-
resolve('punycode', { basedir: resolverDir }, function (err, res, pkg) {
277-
if (err) t.fail(err);
278-
t.equal(res, path.join(resolverDir, 'node_modules/punycode/index.js'));
279-
});
280-
});
281-
282271
test('#52 - incorrectly resolves module-paths like "./someFolder/" when there is a file of the same name', function (t) {
283272
t.plan(2);
284273

test/resolver_sync.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -168,17 +168,6 @@ test('incorrect main', function (t) {
168168
t.end();
169169
});
170170

171-
test('#25: node modules with the same name as node stdlib modules', function (t) {
172-
var resolverDir = path.join(__dirname, 'resolver/punycode');
173-
174-
t.equal(
175-
resolve.sync('punycode', { basedir: resolverDir }),
176-
path.join(resolverDir, 'node_modules/punycode/index.js')
177-
);
178-
179-
t.end();
180-
});
181-
182171
var stubStatSync = function stubStatSync(fn) {
183172
var fs = require('fs');
184173
var statSync = fs.statSync;

0 commit comments

Comments
 (0)