Code change pipeline to development by @GeorgeGoodall-GovUk #736
base.yml
on: push
detect-environments
4s
run-tests
/
test
3m 24s
Matrix: deploy-changes
Waiting for pending jobs
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
|
test/unit/middleware/issueTable.middleware.test.js > issueTable.middleware.js > createPaginationTemplatePrams > should correctly set next when there is more than one page:
test/unit/middleware/issueTable.middleware.test.js#L59
AssertionError: expected undefined to be defined
❯ test/unit/middleware/issueTable.middleware.test.js:59:35
|
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.
|