facebook/jest — pull request #123 by ianobermiller (2014-08-29 21:04:29+00:00)
Title: Better errors for lastCalledWith and toBeCalledWith

Use the same `expect` that tests would normally get when comparing args in the lastCalledWith and toBeCalledWith matchers. This gets nicer error messages; the same ones you would see when using `expect(...).isEqual(...)`.