question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

describe.each and test.each are shown as 'test result not found'

See original GitHub issue

Hello,

when usuing .each the extension can not find the tests.

image image

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
zxch3ncommented, Mar 30, 2022

.each is not supported yet. I’ll find a way to make it work

1reaction
lampewebdevcommented, Mar 30, 2022

Thanks for the info, I have investigated this a little and looked into the vitest/ui package because there it works.

They are basically connecting to the server like this: https://github.com/vitest-dev/vitest/blob/main/packages/ui/client/composables/client.ts

When I have more time, I can investigate this a little more.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running Jest describe.each or it.each tests directly from IntelliJ?
js file as a Jest test, I need the xdescribe dummy method. Without it, IDEA runs tests with direct Node (no Jest arguments)....
Read more >
Jest: describe.each and test.each are not recognized - YouTrack
And if your top level describe is a describe.each , then the file isn't recognized as a test module. Make it very cumbersome...
Read more >
Mark tests that test overall behaviour other tests expand on in ...
It should be possible to mark a test as testing overall behaviour that other tests are testing for more specific behaviour on.
Read more >
Globals - Jest
describe.each allows you to write the test suite once and pass data in. describe.each is available with two APIs: 1.
Read more >
Simplify repetitive Jest test cases with test.each
This scenario most often happens while unit testing helpers/utility functions. Given certain arguments, check if the actual result is equal ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found