Skip to content

Add support for the _elements param #171

Add support for the _elements param

Add support for the _elements param #171

Triggered via pull request April 3, 2024 15:55
Status Failure
Total duration 1m 23s
Artifacts

ci.yml

on: pull_request
Matrix: checks
Matrix: coverage
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 5 warnings
checks (18.x, 7.0)
Process completed with exit code 1.
check export logic > getDocuments > _elements tests > returns Condition document with only the resourceType and the SUBSETTED tag when _elements=Condition.resourceType: test/util/exportToNDJson.test.js#L191
Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 3 @@ -6,6 +6,9 @@ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationValue", }, ], }, "resourceType": "Condition", + "subject": Object { + "reference": "Patient/testPatient", + }, } at Object.<anonymous> (/home/runner/work/bulk-export-server/bulk-export-server/test/util/exportToNDJson.test.js:194:36) at processTicksAndRejections (node:internal/process/task_queues:95:5)
coverage (18.x, 7.0)
Error: The process '/opt/hostedtoolcache/node/18.20.0/x64/bin/npm' failed with exit code 1 Error: The process '/opt/hostedtoolcache/node/18.20.0/x64/bin/npm' failed with exit code 1 at wd._setResult (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2/dist/index.js:21:19186) at wd.CheckComplete (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2/dist/index.js:21:18773) at ChildProcess.<anonymous> (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2/dist/index.js:21:17765) at ChildProcess.emit (node:events:517:28) at maybeClose (node:internal/child_process:1098:16) at ChildProcess._handle.onexit (node:internal/child_process:303:5)
coverage (18.x, 7.0)
Jest coverage report action failed
coverage (18.x, 7.0)
Process completed with exit code 1.
checks (18.x, 7.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
checks (18.x, 7.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
🌿 Branch is not covered: src/util/mongo.controller.js#L91
Warning! Not covered branch
coverage (18.x, 7.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
coverage (18.x, 7.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/