-
Notifications
You must be signed in to change notification settings - Fork 181
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
Modify S1874: Merge with react/no-deprecated
#4371
Conversation
add ruling results
|
||
const sonarId = path.basename(__dirname); | ||
|
||
describe(`Rule ${sonarId}`, () => { | ||
searchPackageJsonFiles(__dirname, []); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a suggestion, but we could call in the beforeAll
hook and then clear the database in the afterAll
hook.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure we can do that... comment base will then clear before each noncompliant, right? and we can use same DB for all
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, you mean beforeAll and not beforeEach, sorry yes you're right
also, just checked and indeed it just creates one test, not multiple, so beforeEach would also work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Fixes #3658