internet-programming/lab3/node_modules/resolve/test/nonstring.js

10 lines
182 B
JavaScript

var test = require('tape');
var resolve = require('../');
test('nonstring', function (t) {
t.plan(1);
resolve(555, function (err, res, pkg) {
t.ok(err);
});
});