Skip to content

11.0.0 Introduced false positives for no-identical-title for tests in separate suites in the same file #381

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

Open
devm33 opened this issue May 5, 2025 · 2 comments

Comments

@devm33
Copy link

devm33 commented May 5, 2025

Upgrading from 10.5.0 to 11.0.0, getting newly false positives for no-identical-title when there are test names reused across separate suites that are in the same file (of course have max-top-level-suites off unfortunately 😏)

@e22m4u
Copy link

e22m4u commented May 9, 2025

Same here

Image

@e22m4u
Copy link

e22m4u commented May 9, 2025

Oh, God... It took me 3 hours to fix it.
Do not import {describe} from 'mocha'; to test files (the describe should be global).

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