-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Jest duplicate mocks names warning #75135
Comments
Pinging @elastic/siem (Team:SIEM) |
not sure which team represents |
This is nothing the enterprise search team can solve. This is a bug in Jest (jestjs/jest#2070), see my description in #38760 |
@timroes can't we just manually rename them to solve this? taking a look at enterprise search team mocks, those looks pretty straightforward to rename, for security team , there are ton of them especially it would be probably tricky in case of |
The mocks should have the names of their corresponding files, so unless you don't want to rename all files (which for |
While running in jest tests in kibana x-pack, it starts with bunch of warnings about duplicate mock file names, either we should try to rename those mocks or try to suppress this warning.
It pollutes the terminal each and every time.
Most of these mocks are from enterprise_search and security_solutions apps.
The text was updated successfully, but these errors were encountered: