-
Bug
-
Resolution: Fixed
-
Blocker
-
-
Blue Ocean 1.4 - beta 1
(window.location.href.split('?')[1] || '').split('&')
window.location in unit testing is normally undefined and can be until href.
our unit tests are failing now with
/home/thorsten/opt/src/cloudbees/operations-center-all/bluesteel/bluesteel-cjoc/node_modules/@jenkins-cd/blueocean-core-js/dist/js/config.js:19 (window.location.href.split('?')[1] || '').split('&').forEach(function (p) { ^ TypeError: Cannot read property 'href' of undefined at Object.<anonymous> (/source/js/config.js:13:2)
[JENKINS-47368] Regression: core-js config.js forces to have windows.location
Assignee | New: Thorsten Scherler [ tscherler ] |
Epic Link | New: JENKINS-35749 [ 171790 ] |
Sprint | New: Blue Ocean 1.4 - beta 1 [ 401 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Labels | Original: cloudbees-internal-steel | New: cloudbees-internal-steel testing-notes-not-applicable |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |