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

kiva / ui / 30391700352
84%

Build:
DEFAULT BRANCH: main
Ran 28 Jul 2026 07:28PM UTC
Jobs 1
Files 484
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

28 Jul 2026 07:22PM UTC coverage: 85.229% (-0.001%) from 85.23%
30391700352

push

github

web-flow
chore(test): silence Vue warnings in the unit test suite (#7110)

* chore(test): silence Vue warnings in unit test suite

Cuts [Vue warn] output in `npm run unit` from 75 to 5 with no change to
test counts (299 files / 4412 tests still pass).

- setup.js: register the kvTrackEvent directive and an apollo provide as
  VTU config.global defaults, so specs get the basics without opting in.
- specUtils.js: add routerLinkStub and mockRouterObject as opt-in helpers.
  These can't be global: registering RouterLink or providing routerKey
  suite-wide collides with the specs that build a real router, where
  <router-link> is expected to render an anchor with role="link".
- routerLinkStub renders a literal <router-link to="..."> element, matching
  the DOM Vue emitted while the component was unresolved, so specs that
  query `router-link[to="..."]` or getAttribute('to') keep working. The goal
  is to silence the resolve warning, not to change rendered output.
- BadgeMilestone.spec.js spread globalOptions at the top level of its render
  options, where VTU ignores directives/provide/mocks; its mocks were inert.

Two import-order constraints are documented in the files: setup.js must not
import from #src (importing KvAuth0 pulled in syncDate and broke
syncDate.spec.js, which mocks timesync), and specUtils.js must not import
routerKey from vue-router (it breaks collection of specs that mock
vue-router without re-exporting it).

* chore(test): mount composable in a component in useMyKivaHome spec

Two of the eleven tests called useMyKivaHome() bare, outside any component,
so the composable's onMounted hook had no instance to attach to and Vue
warned. Wrap both in a TestComponent, matching the other nine tests.

The 'reactive computed properties' test asserts pre-fetch defaults, which
depends on the mount hook not having completed. Its assertions stay
synchronous after render(): onMounted now fires, but its apollo query
resolves on a later microtask, so the values a... (continued)

6379 of 7098 branches covered (89.87%)

Branch coverage included in aggregate %.

51097 of 60339 relevant lines covered (84.68%)

30.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30391700352.1 28 Jul 2026 07:28PM UTC 484
85.23
GitHub Action Run
Source Files on build 30391700352
  • Tree
  • List 484
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30391700352
  • aab489a5 on github
  • Prev Build on main (#30379160485)
  • Next Build on main (#30391905466)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc