This repository has been archived on 2018-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
node-task/node_modules/nodeunit/lib/reporters/index.js

28 lines
765 B
JavaScript
Raw Normal View History

2014-09-18 15:35:58 -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.
};