-
Notifications
You must be signed in to change notification settings - Fork 21
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
feat(grants-collaboration): create library #3294
Conversation
QA Summary
Test CoverageCoverage report for `packages/client`
Coverage report for `packages/server`
|
Terraform Summary
Hint: If "Terraform Format & Style" failed, run OutputValidation Output
Plan Summary
Pusher: @amyewang, Action: |
5139b23
to
23f1b2b
Compare
79566f1
to
6676d6f
Compare
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.
Looks great! 💯
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.
👏 👏 👏 !
6676d6f
to
317e17f
Compare
317e17f
to
266dd0c
Compare
Ticket #3201
Description
Created the
saveNoteRevision
andgetOrganizationNotesForGrant
funcs as described in the ticket. Added some tests inpackages/server/__tests__/lib/grants-collaboration.test.js
. Was having some issues w/ theknex
connection in a new file - the issue was that after 1 file destroyed the shared knex connection (access-helpers.test.js
), it wasn't available to use in the next test file. To remediate this, I moved the before and after hooks into a util file, and called this file from the actual script inpackage.json
.Technically I don't think this knex connection was ever even used in
access-helpers.test.js
, so I could probably have just gotten rid of the before and after hooks in this file, but I thought it might be better just to have these hooks in a global file so no one else runs into this issue in the future as we add modules, but open to either solution.Screenshots / Demo Video
Testing
Automated and Unit Tests
Manual tests for Reviewer
Checklist