mirror of https://github.com/lukechilds/ava.git
Browse Source
If a test throws synchronously, but the error is not an Error instance, create an AssertionError like for rejected promises. Use inspect() to include a string representation of the actual error, and include it in the `actual` property. Remove special handling which converted `undefined` error values to the `'undefined'` string.babel-plugin-for-integration-tests
Mark Wubben
9 years ago
2 changed files with 21 additions and 9 deletions
Loading…
Reference in new issue