Skip to content

fix: vitest settings types#122

Open
alexcambose wants to merge 2 commits into
developfrom
fix/vitest-types
Open

fix: vitest settings types#122
alexcambose wants to merge 2 commits into
developfrom
fix/vitest-types

Conversation

@alexcambose

@alexcambose alexcambose commented Jul 15, 2025

Copy link
Copy Markdown
Contributor

PR-Codex overview

This PR introduces a new TypeScript declaration file for vitest, enhancing type definitions for testing. It removes redundant interface declarations from test files and updates the tsconfig to include vitest types, improving type safety and organization in the test suite.

Detailed summary

  • Added vitest.d.ts with a new ProvidedContext interface including settings.
  • Removed duplicate ProvidedContext interface from globalSetup.ts.
  • Updated multiple test files to remove // @ts-ignore comments related to runPaidTests.
  • Modified tsconfig.types.json to include vitest types and adjust rootDir.
  • Updated exclude and added include in tsconfig.types.json.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@github-actions

Copy link
Copy Markdown

size-limit report 📦

Path Size
core (esm) 54.77 KB (0%)
core (cjs) 67.5 KB (0%)
bundler (tree-shaking) 5.8 KB (0%)
paymaster (tree-shaking) 543 B (0%)

@vr16x vr16x left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

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.

2 participants