src/mogwais/gizmo.js
function incrementNbErrors() {
                nbErrors++;
                if (nbErrors == config.maxErrors) {
                    horde.stop();
                    if (!config.logger) return;
                    window.setTimeout(function() {
                        // display the mogwai error after the caught error
                        config.logger.warn('mogwai ', 'gizmo     ', 'stopped test execution after ', config.maxErrors, 'errors');
                    }, 4);
                }
            }
function incrementNbErrors() {
                nbErrors++;
                if (nbErrors == config.maxErrors) {
                    horde.stop();
                    if (!config.logger) return;
                    window.setTimeout(function() {
                        // display the mogwai error after the caught error
                        config.logger.warn('mogwai ', 'gizmo     ', 'stopped test execution after ', config.maxErrors, 'errors');
                    }, 4);
                }
            }
function incrementNbErrors ( ) { nbErrors ++ ; if ( nbErrors == config . maxErrors ) { horde . stop ( ) ; if ( ! config . logger ) return ; window . setTimeout ( function ( ) { // display the mogwai error after the caught error config . logger . warn ( 'mogwai ' , 'gizmo     ' , 'stopped test execution after ' , config . maxErrors , 'errors' ) ; } , 4 ) ; } }
this is exceptional - don't use 'this' for mogwais in general
this is exceptional - don t use this for mogwais in general