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

kiva / ui / 26919044948
85%

Build:
DEFAULT BRANCH: main
Ran 03 Jun 2026 11:19PM UTC
Jobs 1
Files 405
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

03 Jun 2026 11:15PM UTC coverage: 84.676% (+0.01%) from 84.662%
26919044948

push

github

web-flow
feat: goal sign up copy helper (#6957)

* feat(mp-2866): add goal signup copy variant resolver

Pure function returning 'last-year' (Jan 1 - Mar 31) or
'no-goal-yet' (Apr 1 - Dec 31) based on local browser time.
Year-agnostic via month/day comparison. Foundation for MP-2855;
no entrypoint wiring in this commit.

* feat(mp-2866): add useGoalSignupCopyVariant composable

Wraps resolveGoalSignupCopyVariant in a Vue computed for Composition
API consumers. Accepts an optional `now` Date for test injection.

* refactor(mp-2866): drop Object.freeze from variant constants

YAGNI for a two-key local-use constants object.

* refactor(mp-2866): make resolver private, test only via composable

The pure resolver was exported solely for test convenience. Routing
the boundary tests through the composable (via its `now` injection)
keeps the public API smaller and exercises the real call path.

* refactor(mp-2866): return variant string directly, drop computed wrapper

No reactive input justified the computed wrapper. Return type is now
just the variant string; the vue import is no longer needed.

* refactor(mp-2866): move to util/, rename to getGoalSignupCopyVariant

The helper returns a plain string with no reactive behavior, so it
belongs in src/util/ rather than src/composables/, and the `use*`
prefix is misleading. Renamed to `getGoalSignupCopyVariant`.

5077 of 5567 branches covered (91.2%)

Branch coverage included in aggregate %.

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

40863 of 48687 relevant lines covered (83.93%)

35.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26919044948.1 03 Jun 2026 11:19PM UTC 405
84.68
GitHub Action Run
Source Files on build 26919044948
  • Tree
  • List 405
  • 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 #26919044948
  • 5841aafe on github
  • Prev Build on main (#26918483354)
  • Next Build on main (#26963888626)
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