challenge-algorithms-v2.0-D.../node_modules/resolve/test/nonstring.js

10 lines
182 B
JavaScript
Raw Permalink Normal View History

2022-10-27 19:56:30 +00:00
var test = require('tape');
var resolve = require('../');
test('nonstring', function (t) {
t.plan(1);
resolve(555, function (err, res, pkg) {
t.ok(err);
});
});