/* automatically generated by JSCoverage - do not edit */
if (typeof _$jscoverage === 'undefined') _$jscoverage = {};
if (! _$jscoverage['browserify/test/wrap.js']) {
  _$jscoverage['browserify/test/wrap.js'] = [];
  _$jscoverage['browserify/test/wrap.js'][1] = 0;
  _$jscoverage['browserify/test/wrap.js'][2] = 0;
  _$jscoverage['browserify/test/wrap.js'][3] = 0;
  _$jscoverage['browserify/test/wrap.js'][5] = 0;
  _$jscoverage['browserify/test/wrap.js'][6] = 0;
  _$jscoverage['browserify/test/wrap.js'][7] = 0;
  _$jscoverage['browserify/test/wrap.js'][10] = 0;
  _$jscoverage['browserify/test/wrap.js'][11] = 0;
  _$jscoverage['browserify/test/wrap.js'][12] = 0;
  _$jscoverage['browserify/test/wrap.js'][14] = 0;
  _$jscoverage['browserify/test/wrap.js'][21] = 0;
  _$jscoverage['browserify/test/wrap.js'][24] = 0;
  _$jscoverage['browserify/test/wrap.js'][25] = 0;
  _$jscoverage['browserify/test/wrap.js'][26] = 0;
  _$jscoverage['browserify/test/wrap.js'][33] = 0;
  _$jscoverage['browserify/test/wrap.js'][42] = 0;
}
_$jscoverage['browserify/test/wrap.js'][1]++;
var path = require("path");
_$jscoverage['browserify/test/wrap.js'][2]++;
var browserify = require("../");
_$jscoverage['browserify/test/wrap.js'][3]++;
var test = require("tap").test;
_$jscoverage['browserify/test/wrap.js'][5]++;
function filter(x) {
  _$jscoverage['browserify/test/wrap.js'][6]++;
  var s = path.resolve(__dirname, "wrap/");
  _$jscoverage['browserify/test/wrap.js'][7]++;
  return x.slice(0, s.length) === s;
}
_$jscoverage['browserify/test/wrap.js'][10]++;
test("wrap", (function (t) {
  _$jscoverage['browserify/test/wrap.js'][11]++;
  t.plan(1);
  _$jscoverage['browserify/test/wrap.js'][12]++;
  var files = browserify({require: __dirname + "/wrap/a.js"}).files;
  _$jscoverage['browserify/test/wrap.js'][14]++;
  t.deepEqual(Object.keys(files).filter(filter).sort(), [path.resolve(__dirname, "wrap/a.js"), path.resolve(__dirname, "wrap/node_modules/b/main.js"), path.resolve(__dirname, "wrap/node_modules/b/package.json"), path.resolve(__dirname, "wrap/c.js"), path.resolve(__dirname, "wrap/x.js"),].sort());
  _$jscoverage['browserify/test/wrap.js'][21]++;
  t.end();
}));
_$jscoverage['browserify/test/wrap.js'][24]++;
test("wrapArray", (function (t) {
  _$jscoverage['browserify/test/wrap.js'][25]++;
  t.plan(1);
  _$jscoverage['browserify/test/wrap.js'][26]++;
  var files = browserify({require: [__dirname + "/wrap/a.js", __dirname + "/wrap/skipme.js",]}).files;
  _$jscoverage['browserify/test/wrap.js'][33]++;
  t.deepEqual(Object.keys(files).filter(filter).sort(), [path.resolve(__dirname, "wrap/a.js"), path.resolve(__dirname, "wrap/node_modules/b/main.js"), path.resolve(__dirname, "wrap/node_modules/b/package.json"), path.resolve(__dirname, "wrap/c.js"), path.resolve(__dirname, "wrap/x.js"), path.resolve(__dirname, "wrap/skipme.js"), path.resolve(__dirname, "wrap/node_modules/skipmetoo/index.js"),].sort());
  _$jscoverage['browserify/test/wrap.js'][42]++;
  t.end();
}));
_$jscoverage['browserify/test/wrap.js'].source = ["var path = require('path');","var browserify = require('../');","var test = require('tap').test;","","function filter (x) {","    var s = path.resolve(__dirname, 'wrap/');","    return x.slice(0, s.length) === s;","}","","test('wrap', function (t) {","    t.plan(1);","    var files = browserify({ require : __dirname + '/wrap/a.js' }).files;","    ","    t.deepEqual(Object.keys(files).filter(filter).sort(), [","        path.resolve(__dirname, 'wrap/a.js'),","        path.resolve(__dirname, 'wrap/node_modules/b/main.js'),","        path.resolve(__dirname, 'wrap/node_modules/b/package.json'),","        path.resolve(__dirname, 'wrap/c.js'),","        path.resolve(__dirname, 'wrap/x.js'),","    ].sort());","    t.end();","});","","test('wrapArray', function (t) {","    t.plan(1);","    var files = browserify({","        require : [","            __dirname + '/wrap/a.js',","            __dirname + '/wrap/skipme.js',","        ]","    }).files;","    ","    t.deepEqual(Object.keys(files).filter(filter).sort(), [","        path.resolve(__dirname, 'wrap/a.js'),","        path.resolve(__dirname, 'wrap/node_modules/b/main.js'),","        path.resolve(__dirname, 'wrap/node_modules/b/package.json'),","        path.resolve(__dirname, 'wrap/c.js'),","        path.resolve(__dirname, 'wrap/x.js'),","        path.resolve(__dirname, 'wrap/skipme.js'),","        path.resolve(__dirname, 'wrap/node_modules/skipmetoo/index.js'),","    ].sort());","    t.end();","});"];
