Code change pipeline to development by @GeorgeGoodall-GovUk #1347
Annotations
10 errors and 2 warnings
Run unit tests:
test/unit/middleware/overview.middleware.test.js#L75
AssertionError: expected { organisation: { …(2) }, …(5) } to deeply equal { organisation: { …(2) }, …(5) }
- Expected
+ Received
Object {
"datasets": Object {
"other": ArrayContaining [
Object {
"dataset": "dataset2",
"endpoint": null,
"error": undefined,
"issue_count": 0,
"project": "open-digital-planning",
"status": "Needs fixing",
},
],
"statutory": ArrayContaining [
Object {
"dataset": "dataset1",
"endpoint": "https://example.com",
"error": undefined,
"issue_count": 0,
"project": "open-digital-planning",
"status": "Live",
},
Object {
"dataset": "dataset3",
"endpoint": "https://example.com",
"error": undefined,
"issue_count": 0,
"project": "open-digital-planning",
"status": "Error",
},
],
},
- "datasetsWithEndpoints": 2,
+ "datasetsWithEndpoints": 0,
"datasetsWithErrors": 1,
"datasetsWithIssues": 1,
"organisation": Object {
"name": "Example LPA",
"organisation": "LPA",
},
"totalDatasets": 3,
}
❯ test/unit/middleware/overview.middleware.test.js:75:34
|
Run unit tests:
test/unit/middleware/overview.middleware.test.js#L89
TypeError: aggregateOverviewData is not a function
❯ test/unit/middleware/overview.middleware.test.js:89:13
|
Run unit tests:
test/unit/middleware/overview.middleware.test.js#L105
TypeError: aggregateOverviewData is not a function
❯ test/unit/middleware/overview.middleware.test.js:105:13
|
Run unit tests:
test/unit/middleware/overview.middleware.test.js#L125
TypeError: aggregateOverviewData is not a function
❯ test/unit/middleware/overview.middleware.test.js:125:13
|
Run unit tests:
test/unit/middleware/overview.middleware.test.js#L139
TypeError: aggregateOverviewData is not a function
❯ test/unit/middleware/overview.middleware.test.js:139:13
|
Run unit tests:
test/unit/middleware/overview.middleware.test.js#L152
TypeError: aggregateOverviewData is not a function
❯ test/unit/middleware/overview.middleware.test.js:152:13
|
Run unit tests:
test/unit/middleware/overview.middleware.test.js#L183
AssertionError: expected "spy" to be called 1 times, but got 0 times
❯ test/unit/middleware/overview.middleware.test.js:183:26
|
Run unit tests:
src/middleware/overview.middleware.js#L63
TypeError: Cannot read properties of undefined (reading '#<Object>')
❯ src/middleware/overview.middleware.js:63:18
❯ Module.datasetSubmissionDeadlineCheck src/middleware/overview.middleware.js:61:38
❯ test/unit/middleware/overview.middleware.test.js:213:13
|
Run unit tests:
src/middleware/overview.middleware.js#L63
TypeError: Cannot read properties of undefined (reading '#<Object>')
❯ src/middleware/overview.middleware.js:63:18
❯ Module.datasetSubmissionDeadlineCheck src/middleware/overview.middleware.js:61:38
❯ test/unit/middleware/overview.middleware.test.js:229:13
|
Run unit tests:
src/middleware/overview.middleware.js#L63
TypeError: Cannot read properties of undefined (reading '#<Object>')
❯ src/middleware/overview.middleware.js:63:18
❯ Module.datasetSubmissionDeadlineCheck src/middleware/overview.middleware.js:61:38
❯ test/unit/middleware/overview.middleware.test.js:245:13
|
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