-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit tests for registry clients #32
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job, Kaelyn. There's some really good stuff in here! I've made some comments and suggestions to help tighten it up and make it even better! Let me know if you have any questions...
…istry client tests, add in versioning check to npm client, cleanup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, Kaelyn. This is coming along nicely! I just have a few more small suggestions!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sure this feels like the never-ending PR. I'm sorry! I left one last comment that should be easy to address! Once you've done that, we're golden!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a really comprehensive set of tests that will give us confidence as we continue to develop FPL. Thank you for covering all the edge cases and thinking through this so thoroughly!
* Added final test, minor test title change within DiskBasedPackageCache unit tests * Adding unit tests for FHIRRegistryClient * missing mock test parts, styling * prettier fixes to unmodified files * Adding DefaultRegistryClient unit tests * separated constructor tests into own group * Adding redundant registry client tests * adding default registry client tests * adding npm registry client tests, small modification to npm client * Adding additional tests, error checking within client * prettier fix to diskbased client * removing one test in default client * cleanup, await expect * cleanup, await expect, some test fixes * cleanup, await expect * pull common tests into registryClientHelper, sync up fhir and npm registry client tests, add in versioning check to npm client, cleanup * clean up tests for registry clients, rename registry utils * comment out logging bug * removing multi client test from default registry client * removed unnecessary await before log check
This PR includes unit tests for clients in the Registry folder and some modifications to their corresponding classes:
To test: jest/npm
Related Issue: n/a