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
Forbid duplicate test names #33
Comments
The following patterns should be considered a warning it('foo');
it('foo'); We need to decide if we want to only disallow duplicates in the same |
In the same describe level. describe('foo', function() {
it('should throw when called with null', function() {})
});
describe('bar', function() {
it('should throw when called with null', function() {})
}); I think it's fine to have the same title here, as the end title would be different for both.
Yes. Ideally, this should be project wide for top-level describe, but ESLint is not fit to check that. |
No description provided.
The text was updated successfully, but these errors were encountered: