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

preactjs / preact / 5815
100%

Build:
DEFAULT BRANCH: master
Ran 20 Oct 2019 09:45AM UTC
Jobs 1
Files 19
Run time 2s
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

pending completion
5815

push

travis-ci

JoviDeCroock
Rewrite useImperativeHandle to use useLayoutEffect (-35 B) (#2003)

* Rewrite useImperativeHandle to use useLayoutEffect (-41 B)

* Add new useContext test

* Rerun imperative handler creator if ref changes (+3 B)

* Improve hooks JSDoc

* Assign the return value of push to _afterPaintQueued (-2 B)

* Consistenly assign a number to _afterPaintQueued (-1 B)

* Support no deps array in useImperativeHandle (+12 B)

* Rename `safeRaf` to `afterNextFrame`

...since its implementation does more than a real `safeRaf` implementation. In other words, `safeRaf` invokes the callback after a rAF (or timeout) and another timeout (line 241) so its not a pure `safeRaf`. So to avoid confustion, I renamed the function to be clearer and added a comment describing its purpose

* Reuse `prevRaf` variable (-4 B)

822 of 847 branches covered (97.05%)

857 of 860 relevant lines covered (99.65%)

771.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5815.1 20 Oct 2019 09:45AM UTC 0
99.65
Travis Job 5815.1
Source Files on build 5815
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5815
  • 0aeca9ac on github
  • Prev Build on master (#5795)
  • Next Build on master (#5818)
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

© 2025 Coveralls, Inc