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

firebase / firebase-js-sdk / 36472786518
68%
master: 0%

Build:
Build:
LAST BUILD BRANCH: ch-e2e-vitest
DEFAULT BRANCH: master
Ran 28 Sep 2026 07:43PM UTC
Jobs 0
Files 0
Run time –
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

pending completion
36472786518

push

github

web-flow
test(ai): migrate tests to Vitest (#10363)

* test(ai): migrate tests to Vitest

* test(ai): unify hoisted mock patterns and simplify test runners

- Replace anonymous stubs and manual afterEach null-resets with delegated mock implementations in count-tokens and generate-content tests.
- Remove custom restore override in generative-model tests in favor of standard sinon.restore.
- Use native Vitest runIf conditional runners in chrome-adapter and live-session-helpers tests to eliminate ESLint bypass comments.

TAG=agy
CONV=0e4d0bde-5c64-450d-ab5a-2a4f7489262c

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

- Replace legacy Chai assertions with native Vitest matchers
- Eliminate Sinon stub and spy helpers in favor of native vi.spyOn and vi.fn implementations
- Replace custom match and match.any helpers with expect.anything(), expect.objectContaining(), and expect.toSatisfy()
- Establish test/setup.ts to restore mocks and reset timers across test runs

* test(ai): address review comments and add changeset

* test(ai): remove Node 20 WebSocket fallback

* Use vi.mock({ spy: true }) and vi.resetAllMocks() in ai tests

* chore(ai): remove redundant vitest imports and include type-check in test:ci
Source Files on build 36472786518
Detailed source file information is not available for this build.
  • Back to Repo
  • ac44c691 on github
  • Prev Build on main (#36456453378)
  • Next Build on main (#36482170225)
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