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

unional / assertron / 458 / 2
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 18 Mar 2018 01:12AM UTC
Files 13
Run time 0s
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

18 Mar 2018 01:09AM UTC coverage: 99.315% (+0.02%) from 99.293%
458.2

push

travis-ci

web-flow
feat: support validate against error constructor (#89)


You can now use the `throws()` assertion like this:

```ts
import a from 'assertron'

class MyError extends Error {
  constructor(msg) {
    super(msg)
    Object.setPrototypeOf(this, new.target.prototype)
  }
}

a.throws(Promise.reject(new MyError('x')), MyError)
```

76 of 78 branches covered (97.44%)

Branch coverage included in aggregate %.

214 of 214 relevant lines covered (100.0%)

11.85 hits per line

Source Files on job 458.2
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1
  • Travis Job 458.2
  • 9e44992f on github
  • Prev Job for on master (#455.1)
  • Next Job for on master (#459.3)
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