Sha256: 86984cf5a6e1e19524319a92cf2190b2d332146bf388cbc63c58797d4bd25b9b
Contents?: true
Size: 513 Bytes
Versions: 7
Compression:
Stored size: 513 Bytes
Contents
var browserify = require('../'); var vm = require('vm'); var test = require('tap').test; test('hash instances with hashed contexts', function (t) { t.plan(5); var b = browserify(__dirname + '/symlink_dedupe/main.js'); b.bundle(function (err, buf) { var c = { t: t }; var src = buf.toString('utf8'); t.equal(src.match(RegExp('// FILE F ONE', 'g')).length, 1); t.equal(src.match(RegExp('// FILE G ONE', 'g')).length, 1); vm.runInNewContext(src, c); }); });
Version data entries
7 entries across 7 versions & 2 rubygems