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

humanspeak / svelte-motion / 26317570612
72%
main: 3%

Build:
Build:
LAST BUILD BRANCH: fix/release-cleanup-always-run
DEFAULT BRANCH: main
Ran 22 May 2026 11:56PM UTC
Jobs 1
Files 226
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

22 May 2026 11:55PM UTC coverage: 71.674%. First build
26317570612

push

github

web-flow
feat(hooks): add useFollowValue (#376)

* feat(hooks): add useFollowValue

Add `useFollowValue` — the generalised follow hook accepting any
ValueAnimationTransition (spring / tween / inertia / keyframes) and
returning an augmented motion-dom MotionValue. `useSpring` becomes a
thin wrapper that delegates to `useFollowValue` with `type: 'spring'`
baked in, so the spring API is unchanged.

Ships with a 13-test spec, a /docs/use-follow-value reference page,
and a /examples/use-follow-value demo (six pointer-driven followers
across four spring variants and two tweens — the canonical
"one source, many personalities" pattern from the framer-motion docs).

Adopt docs-kit 2026.5.38, which introduces EmbeddedExampleV2 — the
brutalist-mono panel cousin of ExampleV2 designed for inlining a live
demo inside a doc page. The local Example.svelte wrapper is now a
thin re-skin that delegates to it, so all 17 existing doc-page embeds
inherit the new bar styling.

Misc:
- Carve overload-syntax exception into the .coderabbit.yaml
  utils/*.ts path rule (TypeScript forbids arrow syntax on overloads;
  useFollowValue / useSpring / useCycle follow function-decl).
- Ignore root-level .png artifacts (Playwright sign-off screenshots).

* fix(test): make useFollowValue .destroy() test deterministic

The previous assertion read `v.get() === 0` synchronously after
`src.set(100)` on a default-spring follower. Springs are async, so
the assertion could pass as a false positive even if the follow had
never been torn down — the test wasn't actually proving anything.

Switch to a `type: 'tween', duration: 0` follower with a `waitFor`
poll helper that proves the source→follower path is wired BEFORE
calling `.destroy()`, then pumps several frames post-destroy to
confirm subsequent source changes don't propagate.

Addresses CR feedback on PR #376.

497 of 640 branches covered (77.66%)

Branch coverage included in aggregate %.

25 of 26 new or added lines in 2 files covered. (96.15%)

1965 of 2795 relevant lines covered (70.3%)

12.53 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
96.67
src/lib/utils/followValue.svelte.ts
Jobs
ID Job ID Ran Files Coverage
1 node-22 - 26317570612.1 22 May 2026 11:56PM UTC 226
71.67
GitHub Action Run
Source Files on build 26317570612
  • Tree
  • List 226
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26317570612
  • f7c4f7d7 on github
  • Delete
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