AOSSIE-Org / AOSSIE-Org/Resonate-Backend

Write unit test cases for all functions

Open
#113 13 comments 0 reactions 1 assignee Claimed by @Chrahuldeveloper View on GitHub
enhancement
Dominant language
JavaScript
Stars
43
Forks
120
PR merge metrics
No merged PRs in 30d

Description

Add comprehensive unit tests for all functions to ensure reliability and maintainability.
The tests should mock the `node-appwrite` SDK to avoid real API calls and verify that each function:

* Calls the correct Appwrite methods with expected parameters.
* Returns the correct values on success.
* Handles and propagates errors properly.

Use **Jest** for testing, and include both positive and negative scenarios for full coverage.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.