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

avajs / ava
95%
master: 42%

Build:
Build:
LAST BUILD BRANCH: magic-assert
DEFAULT BRANCH: master
Repo Added 17 May 2016 01:53PM UTC
Files 204
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

LAST BUILD ON BRANCH refactor-assertions
branch: refactor-assertions
CHANGE BRANCH
x
Reset
  • refactor-assertions
  • 0.15
  • add-avacasts
  • allow-assertions-while-pending
  • api-test-cleanup
  • avoid-helper-compilation-during-api-tests
  • babelrc-recipe-cleanup
  • better-throws-helper
  • browser-support
  • bump-ava-files
  • cb-end-ts
  • change-babel-hook-test
  • clarify-api-directories
  • cleanup-api
  • cleanup-caching-precompiler
  • code-excerpt-fixes
  • coverage-report-html
  • document-helper-caveat-in-code
  • ensure-test-files-load-correct-ava
  • ensure-test-run-failures-crash-worker
  • extract-babel-presets
  • fail-if-test-ends-with-pending-assertions
  • failure-output
  • faster-flow-check
  • fix-enhanced-formatting
  • fix-get-port-usage
  • fix-windows-cli
  • format-actual-objects
  • improve-tap-reporter
  • improve-travis-caching
  • improving-languange-support
  • link-to-contrib-post
  • lodash-difference
  • magic-assert
  • make-snapshot-work
  • master
  • max-listeners
  • more-assertion-changes
  • more-async-pitfalls
  • no-color-disables-formatting-highlights
  • no-power-assert
  • pitfalls-eslint-plugin
  • pr1145
  • precompile-helpers-fixtures
  • reduce-transpilation
  • remove-dead-flow-types
  • remove-duplicate-test
  • replace-snapshot
  • rethrow-watch-logger-errors
  • stub-stderr-write
  • switch-deep-equal
  • test-arguments-correction
  • test-overhaul
  • update-ava-files
  • upgrade-xo
  • use-hullabaloo
  • use-kathryn
  • v0.15.0
  • v0.15.1
  • v0.15.2
  • v0.16.0
  • v0.17.0
  • v0.18.0
  • v0.18.1
  • v0.18.2
  • v0.19.0
  • v0.19.1

pending completion
3160

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

2006 of 2079 relevant lines covered (96.49%)

454.5 hits per line

Relevant lines Covered
Build:
Build:
2079 RELEVANT LINES 2006 COVERED LINES
454.5 HITS PER LINE
Source Files on refactor-assertions
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
3160 refactor-assertions 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 ... push 13 Mar 2017 03:48PM UTC novemberborn travis-ci pending completion  
3146 refactor-assertions 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 ... push 10 Mar 2017 06:07PM UTC novemberborn travis-ci pending completion  
3140 refactor-assertions 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 ... push 10 Mar 2017 03:59PM UTC novemberborn travis-ci pending completion  
3137 refactor-assertions Refactor assertions * Use our own AssertionError class. Now we can track the assertion rather than abusing the operator field. We can also stop depending on `core-assert` once we implement `t.throws()` ourselves * Directly create `AssertionError`... push 10 Mar 2017 10:16AM UTC novemberborn travis-ci pending completion  
See All Builds (939)
  • Repo on GitHub
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