Sha256: d7fc40a59dad9773573f1bf5952ad6979688977c2a7de2742ffe862495bc4594
Contents?: true
Size: 558 Bytes
Versions: 7
Compression:
Stored size: 558 Bytes
Contents
var mdeps = require('../'); var test = require('tap').test; var JSONStream = require('JSONStream'); var packer = require('browser-pack'); var concat = require('concat-stream'); var path = require('path'); test('cycle', function (t) { t.plan(1); var p = mdeps(); p.end(path.join(__dirname, '/cycle/main.js')); var pack = packer(); p.pipe(JSONStream.stringify()).pipe(pack).pipe(concat(function (src) { Function('console', src.toString('utf8'))({ log: function (msg) { t.equal(msg, 333) } }); })); });
Version data entries
7 entries across 7 versions & 2 rubygems