Skip to content

Record is no longer an Immutable Collection type. #6

@mozmorris

Description

@mozmorris

With the upcoming version 4 of ImmutableJS, a Record is no longer an Immutable Collection type.

This causes (https://github.com/hunterc/expect-immutable/blob/master/index.js#L6)[isIterable] to return false for Records. isIterable has also been renamed isCollection

More than happy to send a PR for this. Perhaps for Records this check is skipped or an additional method toEqualImmutableRecord is exposed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions