Sha256: 4512ccdfca7a930dbf16b4f6015c7f06d937db4cda1de0474c6b7a0ccf57bbdc
Contents?: true
Size: 928 Bytes
Versions: 11
Compression:
Stored size: 928 Bytes
Contents
var browserify = require('../'); var vm = require('vm'); var test = require('tap').test; test('circular', function (t) { t.plan(1); var b = browserify(__dirname + '/circular/main.js'); b.bundle(function (err, src) { vm.runInNewContext(src, { t: t }); }); }); test('circular expose', function (t) { t.plan(1); var b = browserify(__dirname + '/circular/main.js'); b.require(__dirname + '/circular/a.js', { expose: './a.js' }); b.require(__dirname + '/circular/b.js', { expose: './b.js' }); b.bundle(function (err, src) { vm.runInNewContext(src, { t: t }); }); }); test('circular require', function (t) { t.plan(1); var b = browserify(__dirname + '/circular/main.js'); b.require(__dirname + '/circular/a.js'); b.require(__dirname + '/circular/b.js'); b.bundle(function (err, src) { vm.runInNewContext(src, { t: t }); }); });
Version data entries
11 entries across 11 versions & 4 rubygems