Sha256: 6d7846bde7181c31c9022d6b690c3f4295186a338c77082672f1f084118595e8
Contents?: true
Size: 378 Bytes
Versions: 11
Compression:
Stored size: 378 Bytes
Contents
var browserify = require('../'); var vm = require('vm'); var test = require('tap').test; test('fake', function (t) { t.plan(1); var b = browserify(); b.require(__dirname + '/fake/fake_fs.js', { expose: 'fs' }); b.add(__dirname + '/fake/main.js'); b.bundle(function (err, src) { var c = { t: t }; vm.runInNewContext(src, c); }); });
Version data entries
11 entries across 11 versions & 4 rubygems