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

mochajs / mocha / 5312
94%
main: 94%

Build:
Build:
LAST BUILD BRANCH: v11.x
DEFAULT BRANCH: main
Ran 03 Jan 2019 10:54PM UTC
Jobs 1
Files 46
Run time 8s
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
5312

push

travis-ci

boneskull
Fixed wrong use of to throw that will fail with unexpected v11

I was testing Mocha's compatibility with the upcoming version of Unexpected. For
that version we remove support for satisfy against a function as that has
confused people. I found one test that will fail with the next version as it was
using to throw to satisfy against an error. This test will actually just call
TypeError with the throw error, so it wont really check anything. This PR fixes
the test to assert that the throw error is a TypeError.

937 of 1137 branches covered (82.41%)

2427 of 2675 relevant lines covered (90.73%)

511.37 hits per line

Jobs
ID Job ID Ran Files Coverage
7 5312.7 03 Jan 2019 10:54PM UTC 0
90.73
Travis Job 5312.7
Source Files on build 5312
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5312
  • 017d8652 on github
  • Prev Build on master (#5295)
  • Next Build on master (#5313)
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