1.0.0 • Published 3 years ago
@giancosta86/more-immutable v1.0.0
more-immutable
Utilities complementing Immutable.js
more-immutable is a tiny TypeScript library currently containing sorting and testing utilities for immutable.
Installation
npm install @giancosta86/more-immutableor
yarn add @giancosta86/more-immutableThe public API entirely resides in the root package index, so one shouldn't reference specific modules.
Usage
Please, refer to:
Comparatorand itsPairSortingenumexpectSorting()- with a fluent notation that one can use to test sorting algorithmstestEqualsAndHashCode()- to be called within a Jestdescribeblock in order to automatically generate tests related to equality and hash code for classes implementing theValueObjectinterface
Further references
1.0.0
3 years ago
1.0.0-beta.1
3 years ago