Skip to content

Commit

Permalink
fix: always override specFilter if query exists (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
saschanaz authored and dfederm committed Apr 25, 2019
1 parent 83f51f0 commit 453f6b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/adapter.js
Expand Up @@ -64,7 +64,7 @@
* Filter which specs will be run by matching the start of the full name against the `spec` query param.
*/
var specFilter;
if (!config.specFilter || queryString.getParam("spec")) {
if (queryString.getParam("spec")) {
specFilter = new jasmine.HtmlSpecFilter({
filterString: function () { return queryString.getParam("spec"); }
});
Expand Down

0 comments on commit 453f6b4

Please sign in to comment.