haroonwaves / haroonwaves/ramifyjs

Refactor Test Suite: Modularize and Expand Coverage

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
TypeScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Improve the maintainability and reliability of the `@ramifyjs/core` test suite by splitting tests into module-specific files and closing gaps in coverage.

Key Objectives:

Module-wise Split: Decouple the monolithic test file into dedicated files for core modules
* collection.test.ts: CRUD, bulk operations, and index management.
* query.test.ts: Fluent API filtering, sorting, and results processing.
* ramify.test.ts: Store initialization and collection management.
* observer.test.ts: Subscription and notification logic.

Comprehensive Coverage: Ensure all edge cases are covered, specifically:
* Validation errors (e.g., non-primitive primary keys).
* Newer features like .modify() and the $allOf operator.
* Bulk operation side effects and observer notifications.

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.