AOSSIE-Org / AOSSIE-Org/Resonate-Backend

Write unit test cases for all functions

未关闭
#113 13 条评论 0 个 reaction 已指派 1 人 已被 @Chrahuldeveloper 认领 在 GitHub 查看
enhancement
主要语言
JavaScript
星标
43
派生
120
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。