123456
  1. var resolve = require('../');
  2. resolve('tap', { basedir: __dirname }, function (err, res) {
  3. if (err) console.error(err);
  4. else console.log(res);
  5. });