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

firebase / firebase-js-sdk / 34650304635
79%
master: 0%

Build:
Build:
LAST BUILD BRANCH: renovate/pin-dependencies
DEFAULT BRANCH: master
Ran 11 Sep 2026 09:53PM UTC
Jobs 3
Files 713
Run time 2min
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

11 Sep 2026 09:37PM UTC coverage: 79.267% (-0.08%) from 79.342%
34650304635

push

github

web-flow
test(app): migrate tests to Vitest (#10355)

* test(app): migrate tests to Vitest

- Replaced legacy Karma and Mocha runners with unified Vitest runner extending config/vitest.base.mjs
- Added src/types/vitest-globals.d.ts for ambient globals
- Standardized package test scripts to pure vitest commands
- Migrated global defaults access to globalThis in api.test.ts to support browser runner
- Migrated sealed ESM module stub to class prototype method stub in heartbeatService.test.ts
- Migrated legacy Mocha before hooks directly to beforeAll
- Deleted deprecated karma.conf.js

CI Impact:
• Test Count: 168 passed (84 Node + 84 Browser Chromium)
• Execution Time: 2.44s total runtime

* fix(app): address review comments on PR 10355

- Wrap globalThis.__FIREBASE_DEFAULTS__ in try/finally to prevent state leakage
- Use dedicated sinon sandbox for suite-level stubs restored in afterAll
- Use it.skipIf for IndexedDB-dependent test in Node

* refactor(app): remove obsolete nyc config from package.json

* refactor(app): replace AppError enum with as const object and string literal type

* refactor(app): restore const enum AppError to preserve bundle size and downstream compatibility

* test(app): migrate test suites to native Vitest and remove legacy Sinon-Chai patterns

- Replace legacy Chai and Sinon assertion chains with native Vitest matchers
- Replace Sinon stubs, spies, and fake timers with vi.spyOn, vi.fn, and vi.useFakeTimers
- Replace match.any and match(predicate) with expect.anything() and expect.stringContaining()
- Update test/setup.ts to configure vi.useRealTimers() and vi.restoreAllMocks() in afterEach

* test(app): stub storage overwrite and console methods to avoid indexeddb and silence test logs

10833 of 16169 branches covered (67.0%)

Branch coverage included in aggregate %.

29847 of 35151 relevant lines covered (84.91%)

44390.41 hits per line

Jobs
ID Job ID Ran Files Coverage
1 test-firestore-coverage - 34650304635.1 11 Sep 2026 10:27PM UTC 464
59.19
GitHub Action Run
2 test-auth-coverage - 34650304635.2 11 Sep 2026 09:54PM UTC 100
4.9
GitHub Action Run
3 test-the-rest-coverage - 34650304635.3 11 Sep 2026 09:53PM UTC 536
80.27
GitHub Action Run
Source Files on build 34650304635
  • Tree
  • List 713
  • Changed 319
  • Source Changed 0
  • Coverage Changed 319
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • beb3f6cf on github
  • Prev Build on main (#34649734015)
  • Next Build on main (#34899301567)
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