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

avajs / ava / 3147
95%
master: 42%

Build:
Build:
LAST BUILD BRANCH: magic-assert
DEFAULT BRANCH: master
Ran 10 Mar 2017 06:07PM UTC
Jobs 3
Files 37
Run time 3min
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
3147

Pull #1302

travis-ci

web-flow
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.
Pull Request #1302: Refactor assertions

914 of 996 branches covered (91.77%)

254 of 254 new or added lines in 10 files covered. (100.0%)

2006 of 2079 relevant lines covered (96.49%)

453.86 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
lib/test-worker.js
2
100.0
lib/serialize-error.js
5
100.0
lib/assert.js
6
100.0
lib/enhance-assert.js

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
lib/enhance-assert.js
Jobs
ID Job ID Ran Files Coverage
1 3147.1 10 Mar 2017 06:07PM UTC 0
94.96
Travis Job 3147.1
2 3147.2 10 Mar 2017 06:10PM UTC 0
94.96
Travis Job 3147.2
3 3147.3 10 Mar 2017 06:10PM UTC 0
94.96
Travis Job 3147.3
Source Files on build 3147
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3147
  • Pull Request #1302
  • PR Base - improve-tap-reporter (#3135)
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