-
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
Add tests for SQLJSPackageDB #33
Conversation
Test the save, find, stats, and clear class methods. No tests are added for the logging methods. Minor styling changes in some other files, as applied by prettier.
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 quite nice. Elegant and clean. I only left a few comments -- nothing major. Thanks!
Check properties of the returned resource to make sure it matches one of the expected results. Remove unneeded comment from saveResourceInfo test.
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! One more comment for your consideration.
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.
Thanks, Mint. These tests looks great and cover all the needed functionality.
* Add tests for SQLJSPackageDB Test the save, find, stats, and clear class methods. No tests are added for the logging methods. Minor styling changes in some other files, as applied by prettier. * Make test for SQLJSPackageDB.findResourceInfo stricter Check properties of the returned resource to make sure it matches one of the expected results. Remove unneeded comment from saveResourceInfo test. * Expect last added resource from findResourceInfo
* Add tests for SQLJSPackageDB Test the save, find, stats, and clear class methods. No tests are added for the logging methods. Minor styling changes in some other files, as applied by prettier. * Make test for SQLJSPackageDB.findResourceInfo stricter Check properties of the returned resource to make sure it matches one of the expected results. Remove unneeded comment from saveResourceInfo test. * Expect last added resource from findResourceInfo
* Add tests for SQLJSPackageDB Test the save, find, stats, and clear class methods. No tests are added for the logging methods. Minor styling changes in some other files, as applied by prettier. * Make test for SQLJSPackageDB.findResourceInfo stricter Check properties of the returned resource to make sure it matches one of the expected results. Remove unneeded comment from saveResourceInfo test. * Expect last added resource from findResourceInfo
Test the save, find, stats, and clear class methods. No tests are added for the logging methods.
Minor styling changes in some other files, as applied by prettier.