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

Please support concurrent tests in Jest #3126

Closed
zaripych opened this issue Dec 14, 2022 · 2 comments
Closed

Please support concurrent tests in Jest #3126

zaripych opened this issue Dec 14, 2022 · 2 comments

Comments

@zaripych
Copy link

Issue description or question

Jest concurrent tests are not detected. Ie if I declare a test using:

image

The test would not be detected unless .concurrent is removed - then I can see actions above the test:
image

The total number of tests is reported incorrectly.

Also this message is printed in the console:

Some of the failing tests can not be reported, check the wallaby console for more details 

I understand that .concurrent is considered an experimental feature https://jestjs.io/docs/api#testconcurrentname-fn-timeout

Wallaby diagnostics report

{
  editorVersion: '1.74.0',
  pluginVersion: '1.0.348',
  editorType: 'VSCode',
  osVersion: 'darwin 22.1.0',
  nodeVersion: 'v16.15.1',
  coreVersion: '1.0.1357',
}

Cannot provide full report for security reasons.

@smcenlly
Copy link
Member

We do not have plans to add first class support for .concurrent until it moves out of experimental status. Wallaby has a number of mechanisms (unrelated to jest) for running your tests in parallel which right now conflict with the jest feature and so we need it to be finalized before we add support.

Having said that, we have updated Wallaby to ignore the concurrent status of your tests when you use Wallaby. This means that Wallaby will execute your tests as if they did not have use .concurrent.

Please update to the latest version of Wallaby core, v1.0.1359, it should work for you.

@zaripych
Copy link
Author

Thank you for making it do that. Appreciate it. 👍

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

No branches or pull requests

2 participants