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

Version Path
minimum_viable_product-0.0.11 test/dummy/node_modules/browserify/test/fake.js
brwy_rails-0.0.6 test/dummy/node_modules/browserify/test/fake.js
brwy_rails-0.0.5 test/dummy/node_modules/browserify/test/fake.js
brwy_rails-0.0.4 test/dummy/node_modules/browserify/test/fake.js
brwy_rails-0.0.3 test/dummy/node_modules/browserify/test/fake.js
brwy_rails-0.0.2 test/dummy/node_modules/browserify/test/fake.js
brwy_rails-0.0.1 test/dummy/node_modules/browserify/test/fake.js
sprockets-browserify-0.3.0 node_modules/browserify/test/fake.js
sprockets-browserify-0.2.0 node_modules/browserify/test/fake.js
ruby-wisp-source-0.8.0 vendor/node_modules/browserify/test/fake.js
ruby-wisp-source-0.7.0 vendor/node_modules/browserify/test/fake.js