Closed GeorgeGoodall-GovUk closed 1 week ago
Status | Category | Percentage | Covered / Total |
---|---|---|---|
🔵 | Lines | 68.38% | 4388 / 6417 |
🔵 | Statements | 68.38% | 4388 / 6417 |
🔵 | Functions | 66.78% | 187 / 280 |
🔵 | Branches | 82.62% | 542 / 656 |
The changes involve updates to the http-error.html
template and its corresponding test suite in http-errorPage.test.js
. The resubmitUrl
variable in the HTML template has been modified to reference a different dataset identifier, changing the URL structure for resubmission. Consequently, the test suite has been adjusted to reflect this change in the expected href
attribute of the resubmit link. No other significant alterations to logic or error handling have been made.
File | Change Summary |
---|---|
src/views/organisations/http-error.html | Updated resubmitUrl variable to use {{ dataset.dataset | urlencode }} instead of {{ dataset.name | urlencode }} . |
test/unit/http-errorPage.test.js | Updated test assertion for resubmit link to expect params.dataset.dataset instead of params.dataset.name . |
🐇 In the meadow where bunnies play,
A change was made, hip-hip-hooray!
URLs now point to datasets bright,
Resubmissions ready, all feels right!
With tests adjusted, we hop with glee,
Celebrating changes, just wait and see! 🌼✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
What type of PR is this? (check all applicable)
Description
The link to get-started from the http error was broken, this fixes this
Future work
We should add an acceptance test navigating to here
Summary by CodeRabbit
New Features
Bug Fixes