Utilities complementing Immutable.js
more-immutable is a tiny TypeScript library currently containing sorting and testing utilities for immutable.
npm install @giancosta86/more-immutable
yarn add @giancosta86/more-immutable
The public API entirely resides in the root package index, so one shouldn't reference specific modules.
Please, refer to:
expectSorting()- with a fluent notation that one can use to test sorting algorithms
testEqualsAndHashCode()- to be called within a Jest
describeblock in order to automatically generate tests related to equality and hash code for classes implementing the