This plugin provides a set of unexpected types and assertions for immutable-js library for JavaScript collections.
An unexpected immutable watermelon
Read the documentation
Install via npm:
$ npm install unexpected unexpected-immutable
You can use this plugin as any other unexpected plugins:
const unexpected = require('unexpected')
const unexpectedImmutable = require('unexpected-immutable')
const expect = unexpected.clone().use(unexpectedImmutable)
Inspired by:
MIT