shravan20 / flare.ts

A powerful utility library for clean code in js (npm package)
https://shravan20.github.io/flare.ts
MIT License
2 stars 6 forks source link

feat: Added new Array Util methods #17

Closed shravan20 closed 11 months ago

shravan20 commented 11 months ago

Summary by CodeRabbit

New Features:

Refactor:

Test:

Chore:

Relates to: https://github.com/shravan20/flare/issues/11

coderabbitai[bot] commented 11 months ago

Walkthrough

This update introduces a suite of array manipulation utilities, refactors logging, and reorganizes test files. The new functions enhance the codebase's functionality and maintainability, while the updated logging and test file structure improve debugging and testing efficiency.

Changes

File Summary
lib/sample.ts Updated import statement for utility function and replaced console.log with consola.info.
lib/tests/ArrayUtils/test.spec.ts Added test cases and functions related to array manipulation.
lib/utility/ArrayUtils/index.ts Introduced several utility functions for array manipulation with altered signatures.
mocha.opts Changed the file path pattern for recursive test file inclusion to reflect the new directory structure.

🐇💻

Code refined, tests aligned,

With each change, progress we find.

In arrays' dance, solutions unwind,

A rabbit's work, in code entwined. 🎉

Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - Mention `@coderabbitai` in any *review comment* for bot assistance. - Note: Review comments are made on code diffs or files, not on the PR overview. ### Pause Incremental Reviews - Insert `@coderabbitai: ignore` in the PR description to halt the bot's ongoing reviews. Remove the line to resume. - Additionally, enter `@coderabbitai pause` to halt the bot's ongoing reviews as any issue or review comment. To resume reviews, enter `@coderabbitai resume` as any issue or review comment.