Add Vitest, CI test gates, and add unit tests #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "add-vitest"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
@vitest/coverage-v8; addstest,test:watch, andtest:coveragescriptspr_check.yamlworkflow that runs tests on every PR targetingstageormain; adds a test step to both deploy workflows so a failing suite blocks deploymentsreflect-metadatasetup file required for TypeORM decorators in testsCommentHandlercoveringcreateComment,updateComment, anddeleteComment— validation, ownership, admin bypass, not-found, and forbidden pathsTest plan
npm testpasses locallyCommentHandlerstageandmainrequiring theteststatus checkAdd Vitest, CI test gates, and CommentHandler unit teststo Add Vitest, CI test gates, and add unit tests