Skip to content

Add Vitest coverage for the Pi plugin#2

Merged
benvinegar merged 2 commits intomainfrom
codex/vitest-plugin-tests
Mar 7, 2026
Merged

Add Vitest coverage for the Pi plugin#2
benvinegar merged 2 commits intomainfrom
codex/vitest-plugin-tests

Conversation

@benvinegar
Copy link
Member

Summary

  • add a Vitest + TypeScript test harness for this repository
  • add coverage-focused tests for the Pi glance plugin lifecycle, command, tool, and SSE behavior
  • fix SSE event parsing so chunked server-sent events are handled correctly

Testing

  • npm run test:coverage
  • npm exec -- tsc --noEmit

@socket-security
Copy link

socket-security bot commented Mar 7, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​vitest/​coverage-v8@​3.2.4991007299100
Addedvitest@​3.2.4961007999100
Added@​types/​node@​22.19.151001008196100
Addedtypescript@​5.9.31001009010090

View full report

@benvinegar benvinegar merged commit c374a31 into main Mar 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant