Closed davidaurelio closed 8 years ago
I am not sure, i really understand your problem. What do you mean with "so that is not necessary to pull in all these dependencies..."? Can you provide an example to make it clearer for me?
referee exposes assert.equals
, which in turn calls samsam.deepEqual
- so the functionality is there and you can always use require('samsam').deepEqual
- I'm not sure I understand the problem either.
buster-assertions once exposed a
deepEqual
utility function, which was useful to create custom assertions. It has since moved to samsam.It would be cool to expose a set of such helpers so that is not necessary to pull in all these dependencies just to write some assertions.
I.e.
referee.match
is still there.