![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
contact-summary-testing
Advanced tools
Contact Summary test will load your contact-settings.js or contact-summary-templated.js. Then it will loop through the folders in your contact summary json exmaple folders. Then execute your contact.json, lineage.json, and reports.json against the contac
Contact Summary test will load your contact-settings.js or contact-summary-templated.js. Then it will loop through the folders in your contact summary json exmaple folders. Then execute your contact.json, lineage.json, and reports.json against the contact-summary. This returns an output json which is then compared against the expected.json in your test folders.
medic-contact-summary-test path_to_contact-summary.js path_to_tests_contact_summary_json
medic-contact-summary-test medic-webapp/tree/master/config/standard medic-webapp/tree/master/config/standard/tests/contact-summary
The json files need to be in this directory structure to be looped over and tested against the contact-summary that gets loaded.
NOTE: Lineage and reports files are required but not required to contain data.
── contact-summary
│ ├── immunization
│ │ ├── contact.json
│ │ ├── expected-output.json
│ │ ├── lineage.json
│ │ └── reports.json
This file is a representation of data that would be submitted through the app via a form. It should mimic the data collected
A json file that represents a report that is being submitted through the application. When the contact summary is executed it will affect the output based on conditions set.
Represents the lineage for a contact and the available use cases, vaccines, and other details. Used when processing through the contact summary.
This file contains the data as if it were processed through the app and contact summary details were applied to it. Returning expected fields, cards, and context.
FAQs
Contact Summary test will load your contact-settings.js or contact-summary-templated.js. Then it will loop through the folders in your contact summary json exmaple folders. Then execute your contact.json, lineage.json, and reports.json against the contac
The npm package contact-summary-testing receives a total of 0 weekly downloads. As such, contact-summary-testing popularity was classified as not popular.
We found that contact-summary-testing demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.