Skip to content

Add require-top-level-describe rule #86

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

Merged
merged 7 commits into from
Aug 22, 2022
Merged

Conversation

mskelton
Copy link
Member

Fixes #84

@mxschmitt
Copy link
Collaborator

Not sure if we should recommend that by default. I‘d vote against.

@mskelton
Copy link
Member Author

Not sure if we should recommend that by default. I‘d vote against.

Totally agree, this PR adds the rule, but not enabled by default!

category: 'Best Practices',
description:
'Require test cases and hooks to be inside a `test.describe` block',
recommended: true,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks recommended?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah good catch. Updated this to false and fixed a few other rules which were marked incorrectly

@mskelton mskelton merged commit 7fc8e36 into main Aug 22, 2022
@mskelton mskelton deleted the require-top-level-describe branch August 22, 2022 21:58
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

Successfully merging this pull request may close these issues.

require-top-level-describe
2 participants