Only clear out the spec param for Run all link

- Fixes #1369
This commit is contained in:
Gregg Van Hove
2017-06-16 14:07:40 -07:00
parent 4e3ae726aa
commit de862f8133
3 changed files with 6 additions and 23 deletions

View File

@@ -181,7 +181,7 @@ jasmineRequire.HtmlReporter = function(j$) {
if (specsExecuted < totalSpecsDefined) {
var skippedMessage = 'Ran ' + specsExecuted + ' of ' + totalSpecsDefined + ' specs - run all';
var skippedLink = order && order.random ? '?random=true' : '?';
var skippedLink = addToExistingQueryString('spec', '');
alert.appendChild(
createDom('span', {className: 'jasmine-bar jasmine-skipped'},
createDom('a', {href: skippedLink, title: 'Run all specs'}, skippedMessage)