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

feat: support suite.each, test.each, close #120 #640

Merged
merged 3 commits into from
Jan 27, 2022
Merged

feat: support suite.each, test.each, close #120 #640

merged 3 commits into from
Jan 27, 2022

Conversation

antfu
Copy link
Member

@antfu antfu commented Jan 27, 2022

Check supported usages: https://github.com/vitest-dev/vitest/blob/eed0a2d467531cebfeb62690e130a1227bcfc3e0/test/core/test/each.test.ts

Note that the template literal usage from Jest is NOT supported intentionally. Mainly due to its lack of type safety and introduces too much complexity.

@netlify
Copy link

netlify bot commented Jan 27, 2022

✔️ Deploy Preview for vitest-dev ready!

🔨 Explore the source changes: 5b4f5fc

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

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

@ycmjason
Copy link
Contributor

ycmjason commented May 11, 2022

lack of type safety

From my experience, tagged template literal is typed nicely? Would like to hear more on this.


never mind. I think I misunderstood something.

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