mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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;
|
||||
|
||||
var filter = location.search.slice(1);
|
||||
if ( filter && encodeURIComponent(name) != filter )
|
||||
if ( filter && encodeURIComponent(name).indexOf(filter) == -1 )
|
||||
return;
|
||||
|
||||
synchronize(function() {
|
||||
|
Loading…
Reference in New Issue
Block a user