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

firebase / firebase-js-sdk / 26344360111
81%
master: 0%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/packages/rules-unit-testing/functions/tmp-0.2.7
DEFAULT BRANCH: master
Ran 23 May 2026 09:58PM UTC
Jobs 3
Files 771
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

23 May 2026 09:45PM UTC coverage: 80.898%. First build
26344360111

push

github

web-flow
implement onSubChange for FID-based registration (#9996)

* implement onSubChange for FID-based registration

* Persist VAPID key in FID registration metadata to fix re-registration issue

* Enforce mutual exclusivity of token and FID registrations in DB layer

* Notify clients in onSubChange on successful FID refresh

- Update onSubChange to notify window clients when FID registration is refreshed. Previously it did not notify clients.
- Update refreshFidRegistrationIfStored to return the current FID.
- Update onSubChange to use the returned FID and only notify if the refresh was successful.
- Add unit tests to verify client notification on success, failure, and when not registered.
- Fix a lint error in window-listener.ts by adding the FidRegisteredPayload interface.

---------

Co-authored-by: Kai Wu <zwu52@users.noreply.github.com>

11594 of 18217 branches covered (63.64%)

Branch coverage included in aggregate %.

55 of 58 new or added lines in 7 files covered. (94.83%)

31960 of 35621 relevant lines covered (89.72%)

23038.59 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
96.55
packages/messaging/src/helpers/fid-change-registration.ts
1
89.47
packages/messaging/src/internals/token-manager.ts
1
91.78
packages/messaging/src/listeners/sw-listeners.ts
Jobs
ID Job ID Ran Files Coverage
1 test-firestore-coverage - 26344360111.1 23 May 2026 10:28PM UTC 436
59.45
GitHub Action Run
2 test-the-rest-coverage - 26344360111.2 23 May 2026 10:01PM UTC 599
79.4
GitHub Action Run
3 test-auth-coverage - 26344360111.3 23 May 2026 09:58PM UTC 208
57.19
GitHub Action Run
Source Files on build 26344360111
  • Tree
  • List 771
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • cbb1953a on github
  • Prev Build on main (#26300023973)
  • Next Build on main (#26463017811)
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