/* automatically generated by JSCoverage - do not edit */
if (typeof _$jscoverage === 'undefined') _$jscoverage = {};
if (! _$jscoverage['browserify/test/entry.js']) {
  _$jscoverage['browserify/test/entry.js'] = [];
  _$jscoverage['browserify/test/entry.js'][1] = 0;
  _$jscoverage['browserify/test/entry.js'][2] = 0;
  _$jscoverage['browserify/test/entry.js'][3] = 0;
  _$jscoverage['browserify/test/entry.js'][5] = 0;
  _$jscoverage['browserify/test/entry.js'][6] = 0;
  _$jscoverage['browserify/test/entry.js'][7] = 0;
  _$jscoverage['browserify/test/entry.js'][10] = 0;
  _$jscoverage['browserify/test/entry.js'][14] = 0;
  _$jscoverage['browserify/test/entry.js'][15] = 0;
  _$jscoverage['browserify/test/entry.js'][17] = 0;
  _$jscoverage['browserify/test/entry.js'][22] = 0;
  _$jscoverage['browserify/test/entry.js'][25] = 0;
  _$jscoverage['browserify/test/entry.js'][26] = 0;
  _$jscoverage['browserify/test/entry.js'][27] = 0;
  _$jscoverage['browserify/test/entry.js'][30] = 0;
  _$jscoverage['browserify/test/entry.js'][32] = 0;
}
_$jscoverage['browserify/test/entry.js'][1]++;
var browserify = require("../");
_$jscoverage['browserify/test/entry.js'][2]++;
var vm = require("vm");
_$jscoverage['browserify/test/entry.js'][3]++;
var test = require("tap").test;
_$jscoverage['browserify/test/entry.js'][5]++;
var setTimeout_ = (function (cb, t) {
  _$jscoverage['browserify/test/entry.js'][6]++;
  if (! t) {
    _$jscoverage['browserify/test/entry.js'][7]++;
    process.nextTick(cb);
  }
  else {
    _$jscoverage['browserify/test/entry.js'][10]++;
    setTimeout(cb, t);
  }
});
_$jscoverage['browserify/test/entry.js'][14]++;
test("entry", (function (t) {
  _$jscoverage['browserify/test/entry.js'][15]++;
  t.plan(2);
  _$jscoverage['browserify/test/entry.js'][17]++;
  var src = browserify({exports: ["require"]}).addEntry(__dirname + "/entry/main.js").bundle();
  _$jscoverage['browserify/test/entry.js'][22]++;
  var c = {setTimeout: process.nextTick, done: (function (one, two) {
  _$jscoverage['browserify/test/entry.js'][25]++;
  t.equal(one, 1);
  _$jscoverage['browserify/test/entry.js'][26]++;
  t.equal(two, 2);
  _$jscoverage['browserify/test/entry.js'][27]++;
  t.end();
})};
  _$jscoverage['browserify/test/entry.js'][30]++;
  vm.runInNewContext(src, c);
  _$jscoverage['browserify/test/entry.js'][32]++;
  t.deepEqual(Object.keys(c.require.modules).sort(), ["path", "__browserify_process", "/one.js", "/two.js", "/main.js"].sort());
}));
_$jscoverage['browserify/test/entry.js'].source = ["var browserify = require('../');","var vm = require('vm');","var test = require('tap').test;","","var setTimeout_ = function (cb, t) {","    if (!t) {","        process.nextTick(cb);","    }","    else {","        setTimeout(cb, t);","    }","};","","test('entry', function (t) {","    t.plan(2);","    ","    var src = browserify({ exports : [ 'require' ] })","        .addEntry(__dirname + '/entry/main.js')","        .bundle()","    ;","    ","    var c = {","        setTimeout : process.nextTick,","        done : function (one, two) {","            t.equal(one, 1);","            t.equal(two, 2);","            t.end();","        }","    };","    vm.runInNewContext(src, c);","    ","    t.deepEqual(","        Object.keys(c.require.modules).sort(),","        [ 'path', '__browserify_process', '/one.js', '/two.js', '/main.js' ].sort()","    );","});"];
