/* automatically generated by JSCoverage - do not edit */
if (typeof _$jscoverage === 'undefined') _$jscoverage = {};
if (! _$jscoverage['browserify/test/alias.js']) {
  _$jscoverage['browserify/test/alias.js'] = [];
  _$jscoverage['browserify/test/alias.js'][1] = 0;
  _$jscoverage['browserify/test/alias.js'][2] = 0;
  _$jscoverage['browserify/test/alias.js'][3] = 0;
  _$jscoverage['browserify/test/alias.js'][4] = 0;
  _$jscoverage['browserify/test/alias.js'][6] = 0;
  _$jscoverage['browserify/test/alias.js'][8] = 0;
  _$jscoverage['browserify/test/alias.js'][9] = 0;
  _$jscoverage['browserify/test/alias.js'][10] = 0;
  _$jscoverage['browserify/test/alias.js'][11] = 0;
  _$jscoverage['browserify/test/alias.js'][13] = 0;
  _$jscoverage['browserify/test/alias.js'][18] = 0;
  _$jscoverage['browserify/test/alias.js'][20] = 0;
  _$jscoverage['browserify/test/alias.js'][22] = 0;
  _$jscoverage['browserify/test/alias.js'][23] = 0;
  _$jscoverage['browserify/test/alias.js'][24] = 0;
  _$jscoverage['browserify/test/alias.js'][25] = 0;
  _$jscoverage['browserify/test/alias.js'][27] = 0;
  _$jscoverage['browserify/test/alias.js'][32] = 0;
  _$jscoverage['browserify/test/alias.js'][33] = 0;
  _$jscoverage['browserify/test/alias.js'][34] = 0;
  _$jscoverage['browserify/test/alias.js'][37] = 0;
  _$jscoverage['browserify/test/alias.js'][38] = 0;
  _$jscoverage['browserify/test/alias.js'][39] = 0;
  _$jscoverage['browserify/test/alias.js'][40] = 0;
  _$jscoverage['browserify/test/alias.js'][41] = 0;
  _$jscoverage['browserify/test/alias.js'][46] = 0;
  _$jscoverage['browserify/test/alias.js'][48] = 0;
  _$jscoverage['browserify/test/alias.js'][51] = 0;
  _$jscoverage['browserify/test/alias.js'][52] = 0;
}
_$jscoverage['browserify/test/alias.js'][1]++;
var connect = require("connect");
_$jscoverage['browserify/test/alias.js'][2]++;
var http = require("http");
_$jscoverage['browserify/test/alias.js'][3]++;
var vm = require("vm");
_$jscoverage['browserify/test/alias.js'][4]++;
var browserify = require("../");
_$jscoverage['browserify/test/alias.js'][6]++;
var test = require("tap").test;
_$jscoverage['browserify/test/alias.js'][8]++;
test("alias", (function (t) {
  _$jscoverage['browserify/test/alias.js'][9]++;
  t.plan(5);
  _$jscoverage['browserify/test/alias.js'][10]++;
  var port = 10000 + Math.floor(Math.random() * (Math.pow(2, 16) - 10000));
  _$jscoverage['browserify/test/alias.js'][11]++;
  var server = connect.createServer();
  _$jscoverage['browserify/test/alias.js'][13]++;
  server.use(browserify({mount: "/bundle.js", require: {moo: "seq"}}));
  _$jscoverage['browserify/test/alias.js'][18]++;
  server.listen(port, makeRequest);
  _$jscoverage['browserify/test/alias.js'][20]++;
  function makeRequest() {
    _$jscoverage['browserify/test/alias.js'][22]++;
    var req = {host: "localhost", port: port, path: "/bundle.js"};
    _$jscoverage['browserify/test/alias.js'][23]++;
    http.get(req, (function (res) {
  _$jscoverage['browserify/test/alias.js'][24]++;
  t.equal(res.statusCode, 200);
  _$jscoverage['browserify/test/alias.js'][25]++;
  server.close();
  _$jscoverage['browserify/test/alias.js'][27]++;
  var context = {setTimeout: setTimeout, console: console};
  _$jscoverage['browserify/test/alias.js'][32]++;
  var src = "";
  _$jscoverage['browserify/test/alias.js'][33]++;
  res.on("data", (function (buf) {
  _$jscoverage['browserify/test/alias.js'][34]++;
  src += buf.toString();
}));
  _$jscoverage['browserify/test/alias.js'][37]++;
  res.on("end", (function () {
  _$jscoverage['browserify/test/alias.js'][38]++;
  vm.runInNewContext(src, context);
  _$jscoverage['browserify/test/alias.js'][39]++;
  t.ok(context.require("moo"));
  _$jscoverage['browserify/test/alias.js'][40]++;
  t.ok(context.require("seq"));
  _$jscoverage['browserify/test/alias.js'][41]++;
  t.equal(String(context.require("seq")), String(context.require("moo")));
  _$jscoverage['browserify/test/alias.js'][46]++;
  context.require("moo")([1, 2, 3]).parMap((function (x) {
  _$jscoverage['browserify/test/alias.js'][48]++;
  this(null, x * 100);
})).seq((function () {
  _$jscoverage['browserify/test/alias.js'][51]++;
  t.deepEqual(this.stack, [100, 200, 300]);
  _$jscoverage['browserify/test/alias.js'][52]++;
  t.end();
}));
}));
}));
}
}));
_$jscoverage['browserify/test/alias.js'].source = ["var connect = require('connect');","var http = require('http');","var vm = require('vm');","var browserify = require('../');","","var test = require('tap').test;","","test('alias', function (t) {","    t.plan(5);","    var port = 10000 + Math.floor(Math.random() * (Math.pow(2,16) - 10000));","    var server = connect.createServer();","    ","    server.use(browserify({","        mount : '/bundle.js',","        require : { moo : 'seq' }","    }));","    ","    server.listen(port, makeRequest);","    ","    function makeRequest () {","        ","        var req = { host : 'localhost', port : port, path : '/bundle.js' };","        http.get(req, function (res) {","            t.equal(res.statusCode, 200);","            server.close();","            ","            var context = {","                setTimeout : setTimeout,","                console : console","            };","            ","            var src = '';","            res.on('data', function (buf) {","                src += buf.toString();","            });","            ","            res.on('end', function () {","                vm.runInNewContext(src, context);","                t.ok(context.require('moo'));","                t.ok(context.require('seq'));","                t.equal(","                    String(context.require('seq')),","                    String(context.require('moo'))","                );","                ","                context.require('moo')([1,2,3])","                    .parMap(function (x) {","                        this(null, x * 100)","                    })","                    .seq(function () {","                        t.deepEqual(this.stack, [100,200,300]);","                        t.end();","                    })","                ;","            });","        });","    }","});"];
