Code change pipeline to development by @GeorgeGoodall-GovUk #1236
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: 'ut', organisation: 'reprehenderit ex' }, dataset: { name: 'voluptate cupidatat id', dataset: 'eiusmod non sunt', collection: 'mollit reprehenderit sunt' }, errorSummary: { items: [ { html: 'reprehenderit dolore', href: 'id velit' } ] }, issueType: 'cupidatat', entry: { title: 'labore', fields: [ { key: { text: 'aliqua' }, value: { html: 'id' }, classes: 'non' }, { key: { text: 'tempor elit enim' }, value: { html: 'Excepteur' }, classes: 'dolor' }, { key: { text: 'quis occaecat' }, value: { html: 'esse laboris anim' }, classes: 'sint voluptate' } ] }, pageNumber: -60289378.97644937, dataRange: { minRow: -87815575.02225041, maxRow: -38206423.074007034, totalRows: -36864645.12720704 }, 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