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

infernojs / inferno / 37033856716
95%

Build:
DEFAULT BRANCH: master
Ran 02 Oct 2026 04:27PM UTC
Jobs 1
Files 92
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

02 Oct 2026 04:25PM UTC coverage: 94.377%. Remained the same
37033856716

push

github

Havunen
Converted rest of the test cases to typescript, closes https://github.com/infernojs/inferno/issues/1632

- createElement (inferno-create-element) now has three overloads:
  - DOM elements: ref receives the element.
  - Function and forwardRef components: also accept the lifecycle hook props.
  - Class components: ref receives the instance.

  The old signature typed every ref as receiving the props object. This also removed a TODO and two as any casts from createElement.spec.ts.
- Function-component lifecycle hooks (Refs<P> in inferno core) may now be null, which Inferno already handles at runtime. I kept their parameters bivariant like methods; making them strict broke the animation tests.
- Multi-select value now accepts number[].
- style: core now has a small registry of accepted style object types. inferno-compat adds camelCase/numeric styles and onDoubleClick to it. Plain Inferno users keep the strict hyphenated typing; the extra types only apply when inferno-compat's types are loaded.
- inferno-compat:
  - render<T>() and unstable_renderSubtreeIntoContainer<T>() are generic in the returned instance, like querySelector<T>(). The callback of the latter is now optional.
  - Children.* accept null, undefined or a single child, and ctx is optional. map now declares that it returns null/undefined for those inputs, as React's types do.
  - createFactory returns a properly typed factory.
  - PropTypes validators have isRequired, and shape()/arrayOf() etc. accept their arguments.
  - PureComponent has default type arguments.
- inferno-extras: findDOMNode() accepts any component instance, null and undefined.
- inferno-mobx:
  - inject() returns the actual injector type, now exported as InjectedComponent and IInjector, with wrappedComponent, the hoisted statics and wrappedInstance.
  - observerWrap accepts a typed context, typed like Inferno's own function components.
  - The observer(stores) decorator now returns the component instead of void.
- inferno-r... (continued)

3304 of 3793 branches covered (87.11%)

16 of 16 new or added lines in 3 files covered. (100.0%)

5186 of 5495 relevant lines covered (94.38%)

9644.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37033856716.1 02 Oct 2026 04:27PM UTC 92
94.38
GitHub Action Run
Source Files on build 37033856716
  • Tree
  • List 92
  • Changed 8
  • Source Changed 8
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #37033856716
  • 72b07b7c on github
  • Prev Build on master (#37007437157)
  • Next Build on master (#37050194235)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc