Skip to content

Commit

Permalink
Better diff output when comparing
Browse files Browse the repository at this point in the history
This shows a better diff of which keys are extra/missing rather than getting big strings dumped on the user
  • Loading branch information
slobo committed Jan 9, 2017
1 parent 85a579c commit 51ef466
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chai-immutable.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@
Immutable.is(obj, collection),
'expected #{act} to equal #{exp}',
'expected #{act} to not equal #{exp}',
collection.toString(),
obj.toString(),
collection.toJS(),
obj.toJS(),
true
);
}
Expand Down

0 comments on commit 51ef466

Please sign in to comment.