Code change pipeline to development by @GeorgeGoodall-GovUk #1363
Annotations
3 errors and 2 warnings
Run unit tests:
test/unit/middleware/datasetTaskList.middleware.test.js#L80
AssertionError: expected "getTaskMessage" to be called with arguments: [ { issue_type: 'issue-type1', …(3) } ]
Received:
1st getTaskMessage call:
Array [
Object {
"field": "field1",
"issue_type": "issue-type1",
- "num_issues": 1,
+ "num_issues": undefined,
"rowCount": 2,
},
]
2nd getTaskMessage call:
Array [
Object {
- "field": "field1",
- "issue_type": "issue-type1",
- "num_issues": 1,
+ "field": "field2",
+ "issue_type": "issue-type2",
+ "num_issues": undefined,
"rowCount": 2,
},
]
Number of calls: 2
❯ test/unit/middleware/datasetTaskList.middleware.test.js:80:47
|
Run unit tests:
test/unit/middleware/datasetTaskList.middleware.test.js#L144
AssertionError: expected "getTaskMessage" to be called with arguments: [ { …(4) } ]
Received:
1st getTaskMessage call:
Array [
Object {
"field": "field1",
- "issue_type": "reference values are not unique",
- "num_issues": 1,
- "rowCount": 10,
+ "issue_type": "issue-type1",
+ "num_issues": undefined,
+ "rowCount": 2,
},
]
2nd getTaskMessage call:
Array [
Object {
- "field": "field1",
- "issue_type": "reference values are not unique",
- "num_issues": 1,
- "rowCount": 10,
+ "field": "field2",
+ "issue_type": "issue-type2",
+ "num_issues": undefined,
+ "rowCount": 2,
},
]
3rd getTaskMessage call:
Array [
Object {
"field": "field1",
"issue_type": "reference values are not unique",
- "num_issues": 1,
+ "num_issues": undefined,
"rowCount": 10,
},
]
Number of calls: 3
❯ test/unit/middleware/datasetTaskList.middleware.test.js:144:47
|
Run unit tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run actions/upload-artifact@v4
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
Loading