This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Description
Currently helper functions like dashCase(), 'copy(), notMatched(), forEach(), etc are defined in individual modules.
Downside
- the helper functions cannot be unit tested directly
- the helper functions must be redefined in unit tests that require them (e.g.
dashCase() is redefined here), making it hard to maintain them
Proposal
I would suggest bundling all helper functions in a helpers module and write unit tests for them.
The module could be called helpers so you can easily import required helpers in code and unit tests:
import {helpers} from '../src/helpers';
Plan
@btford — if you agree with the proposal, I am willing to invest the time to implement this and create a PR for it. Just wanted to check with you before I go ahead and implement it.
Feel free to let me know if you want to go ahead with this.