• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

avajs / ava / 3162
42%

Build:
DEFAULT BRANCH: master
Ran 14 Mar 2017 12:53PM UTC
Jobs 2
Files 37
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3162

push

travis-ci

sindresorhus
Always fail tests with an assertion error

Wrap callback errors, rejected promises or synchronously thrown values
in an `AssertionError`. Rely on the `actual` value being printed by the
reporters, which means it's still shown to the user.

Remove now obsolete `Error: ` prefix added to non-assertion errors in
`run-status.js`. Instead more helpful messages from `test.js` can be
shown.

Try to reuse the stack trace from any original error, so magic assert
can show context.

Fail `t.throws()` / `t.notThrows()` with an AssertionError if called
with an improper argument, rather than throwing a TypeError.

914 of 996 branches covered (91.77%)

12 of 12 new or added lines in 2 files covered. (100.0%)

2006 of 2079 relevant lines covered (96.49%)

302.34 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
lib/assert.js

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
lib/run-status.js
2
100.0
lib/serialize-error.js
2
100.0
lib/test-worker.js
2
100.0
lib/test.js
2
100.0
lib/reporters/mini.js
9
100.0
lib/assert.js
9
100.0
lib/enhance-assert.js
Jobs
ID Job ID Ran Files Coverage
1 3162.1 14 Mar 2017 12:53PM UTC 0
94.96
Travis Job 3162.1
2 3162.2 14 Mar 2017 12:53PM UTC 0
94.96
Travis Job 3162.2
Source Files on build 3162
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3162
  • 827cc724 on github
  • Prev Build on master (#3156)
  • Next Build on master (#3163)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc