Skip to content

Vite#144

Merged
Ejirowebfi merged 2 commits into
Favourorg:mainfrom
Olisachukwuma1:vite
Mar 24, 2026
Merged

Vite#144
Ejirowebfi merged 2 commits into
Favourorg:mainfrom
Olisachukwuma1:vite

Conversation

@Olisachukwuma1

Copy link
Copy Markdown
Contributor

Adds the useFactoryState hook with 30s module-level caching and a refetch() escape hatch, backed by a new FactoryState type derived directly from the contract's get_state() return shape.

Also enforces minimum coverage thresholds in vitest.config.ts (lines/functions/statements: 70%, branches: 60%) and adds missing tests for formatting.ts and validation.ts to meet them — bringing overall function coverage from ~43% to 97%. A new CI workflow runs test:coverage on every push/PR and uploads the lcov report as an artifact.

closes #67

@drips-wave

drips-wave Bot commented Mar 24, 2026

Copy link
Copy Markdown

@Olisachukwuma1 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Ejirowebfi Ejirowebfi merged commit b494873 into Favourorg:main Mar 24, 2026
0 of 2 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.

Add vitest Coverage Thresholds

2 participants