Make it so that you can filter tests by keyword.
This commit is contained in:
parent
e3263063e4
commit
fbd2b066a7
|
@ -74,7 +74,7 @@ function test(name, callback, nowait) {
|
||||||
name = _config.currentModule + " module: " + name;
|
name = _config.currentModule + " module: " + name;
|
||||||
|
|
||||||
var filter = location.search.slice(1);
|
var filter = location.search.slice(1);
|
||||||
if ( filter && encodeURIComponent(name) != filter )
|
if ( filter && encodeURIComponent(name).indexOf(filter) == -1 )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
synchronize(function() {
|
synchronize(function() {
|
||||||
|
|
Loading…
Reference in a new issue