aspect
Testing
Suggestion?
With the changes in #136 - test coverage for the database package decreased a lot. While this is fine for 1 line functions that just call Prisma, there are more complex functions that ensure user privacy is being respected which need tests for to keep their functionality consistent
These scenarios are below:
Discord Accounts:
Messages:
Possible Solutions
These tests should both validate the return values of the functions and also read from the database to ensure that user data was not created
Extra Information
No response
aspect
Testing
Suggestion?
With the changes in #136 - test coverage for the database package decreased a lot. While this is fine for 1 line functions that just call Prisma, there are more complex functions that ensure user privacy is being respected which need tests for to keep their functionality consistent
These scenarios are below:
Discord Accounts:
Messages:
Possible Solutions
These tests should both validate the return values of the functions and also read from the database to ensure that user data was not created
Extra Information
No response