Skip to content

Code change pipeline to development by @GeorgeGoodall-GovUk #736

Code change pipeline to development by @GeorgeGoodall-GovUk

Code change pipeline to development by @GeorgeGoodall-GovUk #736

Status Failure
Total duration 3m 38s
Artifacts

base.yml

on: push
detect-environments
4s
detect-environments
Matrix: deploy-changes
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
test/unit/middleware/common.middleware.test.js > reformatIssuesToBeByEntryNumber > reformats the issues by entry number: src/middleware/common.middleware.js#L167
TypeError: Cannot read properties of undefined (reading 'reduce') ❯ Module.reformatIssuesToBeByEntryNumber src/middleware/common.middleware.js:167:52 ❯ test/unit/middleware/common.middleware.test.js:70:11
test/unit/middleware/common.middleware.test.js > formatErrorSummaryParams > formats the error summary params: src/middleware/common.middleware.js#L187
TypeError: Cannot read properties of undefined (reading 'length') ❯ Module.formatErrorSummaryParams src/middleware/common.middleware.js:187:16 ❯ test/unit/middleware/common.middleware.test.js:87:5
test/unit/middleware/issueDetails.middleware.test.js > issueDetails.middleware.js > prepareIssueDetailsTemplateParams > should correctly set the template params: src/middleware/issueDetails.middleware.js#L89
TypeError: Cannot read properties of undefined (reading '0') ❯ Module.prepareIssueDetailsTemplateParams src/middleware/issueDetails.middleware.js:89:26 ❯ test/unit/middleware/issueDetails.middleware.test.js:79:7
test/unit/middleware/issueDetails.middleware.test.js > issueDetails.middleware.js > prepareIssueDetailsTemplateParams > should correctly set the template params with the correct geometry params: src/middleware/issueDetails.middleware.js#L89
TypeError: Cannot read properties of undefined (reading '0') ❯ Module.prepareIssueDetailsTemplateParams src/middleware/issueDetails.middleware.js:89:26 ❯ test/unit/middleware/issueDetails.middleware.test.js:177:7
run-tests / test
Process completed with exit code 1.
run-tests / test
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.