lib/fork.js
Function decorateTest
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function decorateTest(testFunc, timeout, context) {
var categories = [];
var metrics = {};
function addCategory() {
Function reporter
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var reporter = (function() {
function ensureObj(obj) {
return _.isPlainObject(obj) ? obj : {};
}
Function TestRunner
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function TestRunner(msg) {
var filepath = msg.filepath;
var timeout = msg.timeout;
var test;