This patch re-implements matching and reporting for test runner. Among other improvements: - test failures now show a short snippet from test - test failures now explicitly say what received and what was expected - `expect.toBe()` now does text diff when gets strings as input - `expect.toEqual` now does object diff |
||
|---|---|---|
| .. | ||
| fail.js | ||
| hookfail.js | ||
| hooktimeout.js | ||
| timeout.js | ||
| unhandledpromiserejection.js | ||