node-query/node_modules/nodeunit/lib/reporters/index.js

28 lines
765 B
JavaScript
Raw Normal View History

2014-10-20 16:56:45 -04:00
// This is a hack to make browserify skip tap
var tap;
try {
tap = require('./' + 'tap');
} catch (ex) {
tap = {
run: function() {
throw new Error('Sorry, tap reporter not available');
}
};
}
module.exports = {
'junit': require('./junit'),
'default': require('./default'),
'skip_passed': require('./skip_passed'),
'minimal': require('./minimal'),
'html': require('./html'),
'eclipse': require('./eclipse'),
'machineout': require('./machineout'),
'tap': tap,
'nested': require('./nested'),
'verbose' : require('./verbose'),
'lcov' : require('./lcov')
// browser test reporter is not listed because it cannot be used
// with the command line tool, only inside a browser.
};