Merge branch 'select-spec' of https://github.com/jlpstolwijk/jasmine into main
* Merges #1907 from @jlpstolwijk * Fixes #1906 * Fixes spec filtering in karma-jasmine-html-reporter
This commit is contained in:
@@ -810,7 +810,10 @@ jasmineRequire.QueryString = function() {
|
||||
encodeURIComponent(prop) + '=' + encodeURIComponent(paramMap[prop])
|
||||
);
|
||||
}
|
||||
return '?' + qStrPairs.join('&');
|
||||
// include getWindowLocation() to fix issue with karma-jasmine-html-reporter in angular: see https://github.com/jasmine/jasmine/issues/1906
|
||||
return (
|
||||
(options.getWindowLocation().pathname || '') + '?' + qStrPairs.join('&')
|
||||
);
|
||||
}
|
||||
|
||||
function queryStringToParamMap() {
|
||||
|
||||
Reference in New Issue
Block a user