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

unional / assertron / 458
100%

Build:
DEFAULT BRANCH: master
Ran 18 Mar 2018 01:12AM UTC
Jobs 3
Files 13
Run time 1min
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
458

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

35.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 458.1 18 Mar 2018 01:13AM UTC 0
99.32
Travis Job 458.1
2 458.2 18 Mar 2018 01:12AM UTC 0
99.32
Travis Job 458.2
3 458.3 18 Mar 2018 01:12AM UTC 0
99.32
Travis Job 458.3
Source Files on build 458
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #458
  • 9e44992f on github
  • Prev Build on master (#455)
  • Next Build on master (#459)
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