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: when there are not __mocks__ folder #313

Merged
merged 2 commits into from
Dec 25, 2021
Merged

Fix: when there are not __mocks__ folder #313

merged 2 commits into from
Dec 25, 2021

Conversation

11joselu
Copy link
Contributor

How to reproduce:

Remove __mocks__ directory over /test/mocks/__mocks__. Then run only mocks tests. You will see:

image

@netlify
Copy link

netlify bot commented Dec 25, 2021

✔️ Deploy Preview for vitest-dev ready!

🔨 Explore the source changes: 65ad51d

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

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

@userquin
Copy link
Member

userquin commented Dec 25, 2021

why not using fast-glob for reading directory content or promises from fs? It should be sync?

@sheremet-va
Copy link
Member

why not using fast-glob for reading directory content or promises from fs? It should be sync?

It's enough for the usecase

@sheremet-va sheremet-va merged commit 49ee30d into vitest-dev:main Dec 25, 2021
JakeGinnivan pushed a commit to JakeGinnivan/vitest that referenced this pull request Jan 8, 2022
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.

3 participants