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 authored Sep 5, 2016
1 parent 954d347 commit 2e31209
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 2e31209

Please sign in to comment.