-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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: hoist vitest import #434
Conversation
✔️ Deploy Preview for vitest-dev ready! 🔨 Explore the source changes: c42bec9 🔍 Inspect the deploy log: https://app.netlify.com/sites/vitest-dev/deploys/61d4b6c518dbf3000919e725 😎 Browse the preview: https://deploy-preview-434--vitest-dev.netlify.app |
Can you add some tests? |
Done |
test/core/test/hoist-import.test.ts
Outdated
@@ -0,0 +1,14 @@ | |||
import { expect, test, vi } from 'vitest' | |||
// @ts-ignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are we ignoring?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
timeout doesn't have fn, mock adds it
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
Related: #425