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

chartjs / Chart.js / 13049356112
97%

Build:
DEFAULT BRANCH: master
Ran 30 Jan 2025 09:31AM UTC
Jobs 2
Files 74
Run time 4min
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

30 Jan 2025 09:29AM UTC coverage: 97.001%. Remained the same
13049356112

push

github

web-flow
Fix helpers `Chart` type (#12012)

helpers.dom.ts functions referenced the internal `Chart` JavaScript class rather than the published `Chart<TType, TData, TLabel>` TypeScript definition. This causes errors when outside code tries to call helper functions.

The two `Chart` interfaces are incompatible - the `width`, `height`, and `currentDevicePixelRatio` properties are declared as readonly in the TS declaration but are manipulated by helpers.dom.ts functions, and helpers.dom.ts functions need to be invoked both by internal Chart.js code (which uses the JS class) and by outside code (which uses the TS types). To address this, I'm importing the JS version as `PrivateChart`. There may be a better solution.

It's my understanding that the comment about "typedefs are auto-exported" is obsolete now that helpers.dom is a native TS file.

Fixes #11153

3460 of 3718 branches covered (93.06%)

3 of 3 new or added lines in 1 file covered. (100.0%)

7406 of 7635 relevant lines covered (97.0%)

87987.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ubuntu-latest-firefox - 13049356112.1 30 Jan 2025 09:31AM UTC 74
97.0
GitHub Action Run
2 ubuntu-latest-chrome - 13049356112.2 30 Jan 2025 09:31AM UTC 74
97.0
GitHub Action Run
Source Files on build 13049356112
  • Tree
  • List 74
  • Changed 40
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 370f6c38 on github
  • Prev Build on master (#13029395157)
  • Next Build on master (#13357230227)
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