-
-
Notifications
You must be signed in to change notification settings - Fork 887
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Add tests for 100% coverage of src/resolvers/User/posts.ts
- Implemented comprehensive test cases for `posts.ts` to ensure 100% code coverage. - Added tests for various pagination arguments (`first`, `last`, `before`, `after`). - Included edge cases for no posts and invalid filters. - Verified error handling for invalid arguments and cursor values. Fixes #1928
- Loading branch information
1 parent
d164ddd
commit 998f844
Showing
1 changed file
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters