Code change pipeline to development by @GeorgeGoodall-GovUk #1363
base.yml
on: push
detect-environments
3s
run-tests
/
test
3m 17s
Matrix: deploy-changes
Waiting for pending jobs
Annotations
3 errors and 3 warnings
test/unit/middleware/datasetTaskList.middleware.test.js > datasetTaskList.middleware.js > prepareTasks > prepares the task list with issues:
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
|
test/unit/middleware/datasetTaskList.middleware.test.js > datasetTaskList.middleware.js > prepareTasks > uses resource row count for special issue types:
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-tests / test
Process completed with exit code 1.
|
detect-environments
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
run-tests / test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
run-tests / test
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|