Skip to content
This repository has been archived by the owner on Sep 5, 2021. It is now read-only.

albertfdp/unexpected-immutable

Repository files navigation

unexpected-immutable

Join the chat at https://gitter.im/albertfdp/unexpected-immutable

Build Status

This plugin provides a set of unexpected types and assertions for immutable-js library for JavaScript collections.

unexpected-immutable-watermelons

An unexpected immutable watermelon

Documentation

Read the documentation

Installation

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)

Prior art

Inspired by:

License

MIT