Sha256: 2aad0f61aa1c860bed38db63ab4aaf86cc66335882960068599245e48c59817f
Contents?: true
Size: 507 Bytes
Versions: 4
Compression:
Stored size: 507 Bytes
Contents
var browserify = require('../'); var vm = require('vm'); var test = require('tap').test; test('implicit process global', function (t) { t.plan(2); var b = browserify(__dirname + '/process/main.js'); b.bundle(function (err, src) { var c = { done : function (one, two) { t.equal(one, 1); t.equal(two, 2); t.end(); }, setTimeout: setTimeout }; vm.runInNewContext(src, c); }); });
Version data entries
4 entries across 4 versions & 2 rubygems