Code change pipeline to development by @GeorgeGoodall-GovUk #1240
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: 'anim', organisation: 'commodo nisi veniam' }, dataset: { name: 'culpa aute reprehenderit', dataset: 'Ut esse', collection: 'Excepteur' }, errorSummary: { heading: 'culpa', items: [ { html: 'aliqua sunt', href: 'laborum consequat in' } ] }, issueType: 'cupidatat in cillum', entry: { title: 'est laborum', fields: [ { key: { text: 'culpa incididunt' }, value: { html: 'irure' }, classes: 'Excepteur commodo' }, { key: { text: 'voluptate veniam' }, value: { html: 'irure do qui' }, classes: 'elit' }, { key: { text: 'voluptate' }, value: { html: 'reprehenderit' }, classes: 'aliquip velit ad' } ] }, pagination: { next: { href: 'commodo' }, items: [ { type: 'number', number: -91212051.54806376, href: 'nisi', current: false } ] }, pageNumber: -35201375.97806752, dataRange: { minRow: -32034122.059121728, maxRow: -33825981.47727549, totalRows: -73333854.5076549, pageLength: -1158852.6889681816 }, 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