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

avajs / ava / 3146
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 24s
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
3146

push

travis-ci

novemberborn
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%)

453.94 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/test.js
Jobs
ID Job ID Ran Files Coverage
1 3146.1 10 Mar 2017 06:07PM UTC 0
94.96
Travis Job 3146.1
2 3146.2 10 Mar 2017 06:07PM UTC 0
94.96
Travis Job 3146.2
3 3146.3 10 Mar 2017 06:07PM UTC 0
94.96
Travis Job 3146.3
Source Files on build 3146
  • Tree
  • List 0
  • Changed 7
  • Source Changed 2
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #3146
  • f90a9efe on github
  • Prev Build on refactor-assertions (#3140)
  • Next Build on refactor-assertions (#3160)
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

© 2025 Coveralls, Inc