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

BigstickCarpet / ono / 115
88%
master: 0%

Build:
Build:
LAST BUILD BRANCH: v4.0.8
DEFAULT BRANCH: master
Ran 29 Aug 2018 01:14AM UTC
Jobs 4
Files 1
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
115

Pull #5

travis-ci

web-flow
Fix typedef

Since `module.exports` is actually overwritten by the function returned by `create(Error)`, this is not an es6-module compatible scenario.
With this change,
```ts
import * as ono from 'ono'
throw ono(new Error('ono'))
```
and, perhaps more correctly
```ts
import ono = require('ono')
throw ono(new Error('ono'))
```
typecheck and generate correct code.

Before this change, only
```ts
import ono from 'ono'
throw ono(new Error('ono'))
```
and
```ts
import * as themodule from 'ono'
throw themodule.default(new Error('ono'))
```
would typecheck, both of which would throw at runtime by trying to call `ono.default()` or `ono.default.syntax()`, etc...
Pull Request #5: Fix typedef

74 of 92 branches covered (80.43%)

80 of 91 relevant lines covered (87.91%)

2028.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 115.1 29 Aug 2018 01:15AM UTC 0
93.2
Travis Job 115.1
2 115.2 29 Aug 2018 01:14AM UTC 0
87.38
Travis Job 115.2
3 115.3 29 Aug 2018 01:14AM UTC 0
87.38
Travis Job 115.3
4 115.4 (KARMA=true) 29 Aug 2018 01:14AM UTC 0
86.08
Travis Job 115.4
Source Files on build 115
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #115
  • Pull Request #5
  • PR Base - master (#113)
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