[Feature] support for `(it|test|describe).each(...)`
See original GitHub issueJest supports it.each: https://jestjs.io/docs/api#testeachtablename-fn-timeout with an array or a template table.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:9 (2 by maintainers)
Top Results From Across the Web
jest-test-mode/jest-test-mode.el at master - GitHub
Adds support for when-let ... Match Group 1 contains the function name: it, test, describe. Match Group 4 contains the test name" )....
Read more >What Does It Usually Mean for a Feature to be "Supported"?
Save this answer. Show activity on this post. A feature is "supported" if the party responsible for the software's overall functionality ...
Read more >How to Set Up a Continuous Integration Pipeline with GitHub ...
Lately I've added continuous integration to my blog using Puppeteer for end to end testing. My main goal was to allow automatic dependency ......
Read more >wdio-zebr-reporter - npm Package Health Analysis - Snyk
It is Zebrunner server hostname. It can be obtained in Zebrunner on the 'Account & profile' page under the 'Service URL' section;.
Read more >woo94 - Medium
Read writing from woo94 on Medium. Every day, woo94 and thousands of other voices read, write, and share important stories on Medium.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

15 minutes after writing last comment, managed to “money-patch” the missing
test.eachsupport by using this quick&dirty function (and my tests pass now 🚀 )This was also requested by @userquin in the EPIC issue. We were talking with Anthony that
.eachcould add a lot of complexity (https://github.com/antfu-sponsors/vitest/issues/15#issuecomment-991333131). But given that the output is formatted as a table and people seem to be keen on using it, I think it would be good to have a compat story here. See also comment in twitter about.concurrent.eachthat is an interesting case (we could do the same with a nesteddescribe.concurrentthough)What I told to @userquin, and maybe someone else wants to take this one, is that 1. it may be good to wait until the internals are more stable to avoid the need to refactor this feature while the code is stabilizing and 2. we could discuss with a PR implementing it, because maybe the added complexity isn’t that big at the end.
In case we don’t want to support tabular output in the reporter, maybe we could implement
.eachwith nesteddescribes and keep a simple tree output, but at least users could migrate from Jest without changing their code (but taking the hit of losing the table at the CLI)