-
-
Notifications
You must be signed in to change notification settings - Fork 884
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
Test: src/resolvers/User/posts.ts #1928
Comments
I want to work on this issue. |
@palisadoes Please Assign me this issue. |
There is already test cases is written by someone. |
We need to get the coverage up to 100% |
I want to work on this issue. |
this issue is already assigned to someone. |
This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue. |
Unassigning due to no activity or open PR |
This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue. |
Hello, can you please assign this issue to me? thanks! |
Unassigning myself as won't be able to work due to exams! Sorry for inconvenience |
This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue. |
Greetings, I'd like to try and solve this issue. Could you please assign it to me |
- 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 PalisadoesFoundation#1928
- 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 PalisadoesFoundation#1928
* fix: issue #2382 by upgrading graphql version - Updated the `graphql` dependency in `package.json` from version `^16.8.1` to `^16.9.0` - Regenerated `package-lock.json` to reflect the changes in dependencies This change addresses issue #2382 by ensuring compatibility with the latest features and bug fixes in the `graphql` package. Closes #2382 * 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 * test: Add tests for 100% coverage of src/resolvers/User/posts.ts update-2 * Fix and improve User post resolver tests - Update 'handles valid cursor value' test to be more flexible - Ensure test passes with variable post order - Maintain test coverage and functionality verification
The Talawa-API code base needs to be 100% reliable. This means we need to have 100% test code coverage.
src/resolvers/User/posts.ts
tests/
with a.spec.ts
suffix.IMPORTANT:
Please refer to the parent issue on how to implement these tests correctly:
PR Acceptance Criteria
codecov.io
to help with testing.Other
Please coordinate issue assignment and PR reviews with the contributors listed in this issue:
The text was updated successfully, but these errors were encountered: