Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add missing defineConfig helper #749

Merged
merged 1 commit into from Feb 14, 2022
Merged

Conversation

pd4d10
Copy link
Contributor

@pd4d10 pd4d10 commented Feb 14, 2022

It was introduced in #702, but doesn't seem to have been implemented

@netlify
Copy link

netlify bot commented Feb 14, 2022

✔️ Deploy Preview for vitest-dev ready!

🔨 Explore the source changes: c2f27fe

🔍 Inspect the deploy log: https://app.netlify.com/sites/vitest-dev/deploys/6209f64efc7c7f000803b72e

😎 Browse the preview: https://deploy-preview-749--vitest-dev.netlify.app

@@ -26,6 +26,10 @@ declare module 'vite' {
}
}

export function defineConfig(config: { test?: VitestInlineConfig }) {
Copy link
Member

Choose a reason for hiding this comment

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

The type should be UserConfig from vite

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

@antfu antfu merged commit e72b881 into vitest-dev:main Feb 14, 2022
@pd4d10 pd4d10 deleted the patch-1 branch February 14, 2022 06:43
@pd4d10 pd4d10 mentioned this pull request Feb 16, 2022
6 tasks
chaii3 pushed a commit to chaii3/vitest that referenced this pull request May 13, 2022
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.

None yet

2 participants