Skip to content

Instantly share code, notes, and snippets.

@leebyron
Created November 21, 2014 02:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leebyron/755227877ce47077e16d to your computer and use it in GitHub Desktop.
Save leebyron/755227877ce47077e16d to your computer and use it in GitHub Desktop.
Jasmine matcher for Immutable
beforeEach(function () {
this.addMatchers({
is: function(expected) {
return Immutable.is(this.actual, expected);
}
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment