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

no-suite-dupes doesn't detect dupes over multiple files #356

Open
antonborisoff opened this issue Sep 13, 2022 · 0 comments
Open

no-suite-dupes doesn't detect dupes over multiple files #356

antonborisoff opened this issue Sep 13, 2022 · 0 comments
Labels

Comments

@antonborisoff
Copy link

Describe the bug

If there are several describes in different files with the same name, the rule doesn't mark them as duplicates

To Reproduce

have spec file A with describe 'TEST' and spec B with describe 'TEST'. Enable no-suite-dupes rule and run linting against spec A and spec B

Expected behaviour

describe with duplicate name is reported

Context

  • Node.js version: 16.13.2
  • eslint-plugin-jasmine version: 4.1.3
  • eslint version: 8.18.0
  • Operating system: Windows 10

Is it expected or not? If it is expected, then it should be clarified in the rule docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant