UNPKG

react-pivot

Version:

React-Pivot is a data-grid component with pivot-table-like functionality for data display, filtering, and exploration.

20 lines (16 loc) 419 B
var browserify = require('../'); var test = require('tap').test; test('standalone bundle close event', {timeout: 1000}, function (t) { t.plan(1); var ended = false; var b = browserify(__dirname + '/standalone/main.js', { standalone: 'stand-test' }); var r = b.bundle(); r.resume(); r.on('end', function() { t.ok(!ended); ended = true; t.end(); }); });