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

chartjs / Chart.js / 13357230227
97%

Build:
DEFAULT BRANCH: master
Ran 16 Feb 2025 05:26PM UTC
Jobs 2
Files 74
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

16 Feb 2025 05:24PM UTC coverage: 97.001%. Remained the same
13357230227

push

github

web-flow
[fix] Handle non-primitives in isNumber (#12034)

While investigating https://github.com/chartjs/chartjs-plugin-zoom/issues/928, I found that `isNonPrimitive` will throw TypeError on a Moment.js object after it's passed through Chart.js's options proxy, because the object has its `Symbol.toPrimitive`, `toString`, and `valueOf` all set to null.

(See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String#string_coercion for background reading.)

Since isNumber appears to be a low-level function that can take any arbitrary input, it seems worth letting it handle this case.

3468 of 3726 branches covered (93.08%)

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

7407 of 7636 relevant lines covered (97.0%)

81556.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ubuntu-latest-firefox - 13357230227.1 16 Feb 2025 05:26PM UTC 74
97.0
GitHub Action Run
2 ubuntu-latest-chrome - 13357230227.2 16 Feb 2025 05:26PM UTC 74
97.0
GitHub Action Run
Source Files on build 13357230227
  • Tree
  • List 74
  • Changed 43
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 2f425290 on github
  • Prev Build on master (#13049356112)
  • Next Build on master (#13397701609)
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