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

zooniverse / front-end-monorepo / 10290504460
77%

Build:
DEFAULT BRANCH: master
Ran 07 Aug 2024 07:28PM UTC
Jobs 1
Files 1472
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

07 Aug 2024 07:25PM UTC coverage: 79.058% (-0.001%) from 79.059%
10290504460

push

github

web-flow
fix(lib-react-components): AnimatedNumber displays async values as 0 (#6192)

* add an AnimatedNumber story for deferred animations

* add tests

* fix(lib-react-components): missing effect dependencies in AnimatedNumber

Refactor `AnimatedNumber` to add missing `value` and `duration` effect dependencies. Declare `animateValue` and `lessAnimation` callbacks inside the `useEffect` hook.

update initialValue when the animation completes

wait for async values to load before animating

* Refactor and document the d3 animation functions

* update the changelog

* replace if with ternary (no side effects!)

* announce stats changes as a status live region

* Simplify and clean up animation functions

* Wait for any pending animations to complete

* refactor intersectionCallback for readability

---------

Co-authored-by: Mark Bouslog <mcbouslog@gmail.com>

11683 of 16983 branches covered (68.79%)

Branch coverage included in aggregate %.

30 of 30 new or added lines in 2 files covered. (100.0%)

17118 of 19447 relevant lines covered (88.02%)

415.95 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/148866675 10290504460.1 07 Aug 2024 07:28PM UTC 0
79.06
GitHub Action Run
Source Files on build 10290504460
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #10290504460
  • 2668aab6 on github
  • Prev Build on master (#10289134243)
  • Next Build on master (#10305481755)
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