681 dashboard fetch data from all active resources #603
Annotations
4 errors and 1 warning
test/unit/middleware/entryIssueDetails.middleware.test.js > entryIssueDetails.middleware.test.js > prepareEntry > should call next with error if issue is missing:
test/unit/middleware/entryIssueDetails.middleware.test.js#L132
AssertionError: expected "spy" to be called with arguments: [ …(1) ]
Received:
1st spy call:
Array [
- [Error: Missing required values on request object: issues[pageNumber-1]=missing resources=present],
+ [Error: Missing required values on request object: entryIssues: present, entryIssues[0]: missing, resources: present],
]
Number of calls: 1
❯ test/unit/middleware/entryIssueDetails.middleware.test.js:132:20
|
test/unit/middleware/entryIssueDetails.middleware.test.js > entryIssueDetails.middleware.test.js > prepareEntry > should throw error if resources is missing:
test/unit/middleware/entryIssueDetails.middleware.test.js#L153
AssertionError: expected "spy" to be called with arguments: [ …(1) ]
Received:
1st spy call:
Array [
- [Error: Missing required values on request object: issues[pageNumber-1]=present resources=missing],
+ [Error: Missing required values on request object: entryIssues: present, entryIssues[0]: present, resources: missing],
]
Number of calls: 1
❯ test/unit/middleware/entryIssueDetails.middleware.test.js:153:20
|
test/unit/middleware/overview.middleware.test.js:
src/middleware/overview.middleware.js#L38
TypeError: fetchOneFromAllDatasets is not a function
❯ src/middleware/overview.middleware.js:38:27
❯ test/unit/middleware/overview.middleware.test.js:14:25
|
test
Process completed with exit code 1.
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|