lib/commandline.js
function getLitmusForModule (module) {

    if (isLitmus(module)) {
        return module;
    }

    if (module.test && isLitmus(module.test)) {
        return module.test;
    }

    throw new Error('litmus: expected module to export litmus.Test or litmus.Suite');
}
function getLitmusForModule (module) {

    if (isLitmus(module)) {
        return module;
    }

    if (module.test && isLitmus(module.test)) {
        return module.test;
    }

    throw new Error('litmus: expected module to export litmus.Test or litmus.Suite');
}
function getLitmusForModule ( module ) { if ( isLitmus ( module ) ) { return module ; } if ( module . test && isLitmus ( module . test ) ) { return module . test ; } throw new Error ( 'litmus: expected module to export litmus.Test or litmus.Suite' ) ; }
Find the litmus.Test or litmus.Suite for a module.
Previous versions of litmus expected this to be exposed under a 'test' key.
Find the litmus . Test or litmus . Suite for a module . Previous versions of litmus expected this to be exposed under a test key .