With these changes, it is now possible to run unit tests via npm test. A later stage could include automating those tests through GitHub Actions if that is deemed worthwhile.
I also added a few tests of a few functions - just starting with some low-hanging fruit to get started.
With these changes, it is now possible to run unit tests via
npm test
. A later stage could include automating those tests through GitHub Actions if that is deemed worthwhile.I also added a few tests of a few functions - just starting with some low-hanging fruit to get started.
Feedback is welcome.