Browse Source

Merge pull request #428 from sindresorhus/nice-stack-traces

Add clean stack traces to readme
babel-plugin-for-integration-tests
⌁ sɪɴᴅʀᴇ sᴏʀʜᴜs ⌁ 9 years ago
parent
commit
2c0c55887a
  1. BIN
      media/stack-traces.png
  2. 8
      readme.md

BIN
media/stack-traces.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

8
readme.md

@ -38,6 +38,7 @@ Translations: [Español](https://github.com/sindresorhus/ava-docs/blob/master/es
- [Observable support](#observable-support)
- [Enhanced asserts](#enhanced-asserts)
- [Optional TAP output](#optional-tap-output)
- [Clean stack traces](#clean-stack-traces)
## Test syntax
@ -487,6 +488,13 @@ $ ava --tap | tap-nyan
<img src="media/tap-output.png" width="398">
### Clean stack traces
AVA automatically removes unrelated lines in stack traces, allowing you to find the source of an error much faster.
<img src="media/stack-traces.png" width="300">
## API
### test([title], body)

Loading…
Cancel
Save