Moved dependencies out of HtmlReporter and into boot.js - QueryString for spec filtering and UI around raising exceptions checkbox; New object for handling spec filtering for browsers;
This commit is contained in:
7
src/html/HtmlSpecFilter.js
Normal file
7
src/html/HtmlSpecFilter.js
Normal file
@@ -0,0 +1,7 @@
|
||||
jasmine.HtmlSpecFilter = function(options) {
|
||||
var filterPattern = new RegExp(options && options.filterString());
|
||||
|
||||
this.matches = function(specName) {
|
||||
return filterPattern.test(specName);
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user