Created
June 2, 2016 09:52
-
-
Save bichotll/9477b49eb5afe9f032edda234c4cdc83 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Returns the tests to be run | |
*/ | |
function getFailedTests() { | |
var cases = []; | |
$('h3:not(.hidden)').each(function(){ | |
cases.push($(this).text().match(/[0-9]*\.[0-9]*/)[0]); | |
}) | |
return "...test -c " + (cases.join(' -c ')); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment