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

infernojs / inferno / 6870 / 2
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 18 Mar 2018 06:43AM UTC
Files 72
Run time 3s
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 06:37AM UTC coverage: 95.836%. Remained the same
6870.2

push

travis-ci

Havunen
Typescript props fixes (#1302)

* Update BrowserRouter.ts

prevent typescript error TS2322 
```
Types of property 'children' are incompatible.       Type 'Element' is not assignable to type 'Component<any, any>[]'.         Property 'length' is missing in type 'Element'.
```

for the next example:

```
const AppView = () => {
    return (
        <div id="content">
....
        </div>
    )
}

render((
    <BrowserRouter>
        <AppView/>
    </BrowserRouter>
), document.getElementById('app'));
```

* Update Route.ts

fix TS2322 error Property 'children' is missing in type '{ render: (routeProps: RouteComponentProps<any>) => VNode<{}>; }'.
by making the prop children optional

* Update Link.ts

typescript: make replace & innerRef optional as these are not required

* revert browserrouter commit. Switch should be used https://github.com/ReactTraining/react-router/blob/master/packages/react-router/docs/api/Switch.md

2036 of 2333 branches covered (87.27%)

2877 of 3002 relevant lines covered (95.84%)

2503.27 hits per line

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