Skip to content
Permalink
Browse files

jquery testrunner: accept regexp to select tests, eg. /test/?^core|^s…

…elector to run both core and selector module
  • Loading branch information
jzaefferer committed Apr 22, 2008
1 parent d3d8f35 commit f861c88b1bb8f9c0bf37ec86cb12a3f7206680c3
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/data/testrunner.js
@@ -74,7 +74,7 @@ function test(name, callback, nowait) {
name = _config.currentModule + " module: " + name;

var filter = location.search.slice(1);
if ( filter && encodeURIComponent(name).indexOf(filter) == -1 )
if ( filter && !new RegExp(filter).test(encodeURIComponent(name)) )
return;

synchronize(function() {

0 comments on commit f861c88

Please sign in to comment.
You can’t perform that action at this time.