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

Create rule S2187: Test files should contain at least one test case #4428

Closed
yassin-kammoun-sonarsource opened this issue Nov 27, 2023 · 0 comments · Fixed by #4442
Closed
Assignees
Labels
mmf-3264 https://jira.sonarsource.com/browse/MMF-3264 type: new rule Creating a new rule not existing before
Milestone

Comments

@yassin-kammoun-sonarsource
Copy link
Contributor

S2187

Detection

  • Detect if files with .test or .spec extension or that imports jest/chai.js have at least a test
  • Also check it and describe without callbacks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mmf-3264 https://jira.sonarsource.com/browse/MMF-3264 type: new rule Creating a new rule not existing before
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants