Code change pipeline to development by @GeorgeGoodall-GovUk #1238
Annotations
3 errors and 1 warning
Run unit tests:
test/unit/middleware/issueTable.middleware.test.js#L203
AssertionError: expected [ { columns: { …(3) } }, …(1) ] to deeply equal [ { columns: { …(3) } }, …(1) ]
- Expected
+ Received
Array [
Object {
"columns": Object {
"amount": Object {
"error": Object {
"message": "Invalid Amount",
},
"value": 100,
},
"name": Object {
"error": undefined,
"value": "Name 1",
},
"reference": Object {
"error": undefined,
- "html": "<a href='/organisations/lpa-value/dataset-value/issue-type-value/issue-field-value/entry/1'>entity1</a>",
+ "html": "<a href='undefined/entity/1'>entity1</a>",
},
},
},
Object {
"columns": Object {
"amount": Object {
"error": undefined,
"value": 200,
},
"name": Object {
"error": Object {
"message": "Invalid Name",
},
"value": "Name 2",
},
"reference": Object {
"error": undefined,
- "html": "<a href='/organisations/lpa-value/dataset-value/issue-type-value/issue-field-value/entry/2'>entity2</a>",
+ "html": "<a href='undefined/entity/2'>entity2</a>",
},
},
},
]
❯ test/unit/middleware/issueTable.middleware.test.js:203:40
|
Run unit tests:
src/utils/custom-renderer.js#L43
ValiError: Invalid type: Expected never but received undefined
❯ Module.parse node_modules/valibot/dist/index.js:5219:11
❯ Module.render src/utils/custom-renderer.js:43:18
❯ Object.render src/serverSetup/nunjucks.js:17:27
❯ test/unit/views/organisations/issueDetailsPage.test.js:18:25
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { kind: 'schema', type: 'strict_object', input: undefined, expected: 'never', received: 'undefined', message: 'Invalid type: Expected never but received undefined', requirement: undefined, path: [ { type: 'object', origin: 'value', input: { organisation: { name: 'fugiat ex', organisation: 'in eu', statistical_geography: 'cillum', entity: -23866063.822060823 }, dataset: { name: 'ut quis', dataset: 'reprehenderit in', collection: 'velit' }, errorSummary: { items: [ { html: 'commodo', href: 'Excepteur' } ] }, issueType: 'ea enim', entry: { title: 'aliquip enim', fields: [ { key: { text: 'aliquip' }, value: { html: 'veniam in et' }, classes: 'sunt' }, { key: { text: 'dolore aliquip Excepteur' }, value: { html: 'velit' }, classes: 'non veniam irure' } ] }, pagination: { next: { href: 'occaecat id Ut' }, items: [ { type: 'number', number: -30676535.19101441, href: 'ex', current: false }, { type: 'number', number: -21507618.01749468, href: 'irure Excepteur ut', current: false }, { type: 'number', number: -8797344.472259283, href: 'ea', current: false } ] }, pageNumber: -59651964.90287781, dataRange: { minRow: -72856570.45431435, maxRow: -63735005.53891063, totalRows: -57733010.50066948 }, issueEntitiesCount: undefined }, key: 'issueEntitiesCount', value: undefined } ], issues: undefined, lang: undefined, abortEarly: undefined, abortPipeEarly: undefined } ] }
|
Run unit tests
Process completed with exit code 1.
|
Run actions/upload-artifact@v4
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
Loading