-
Notifications
You must be signed in to change notification settings - Fork 6
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
UIREQ-996: Update Jest/RTL tests #1107
Conversation
cfb0e4e
to
40f139a
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
40f139a
to
70974fc
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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.
Hey @Dmitriy-Litvinenko
If you wish that, going forward such React imports do not happen in test files (or have lint complain such unwanted imports), you can adjust or modify lint rule https://github.com/folio-org/eslint-config-stripes/blob/0754e5740231869bb611146563ccce6c96ee4c0b/index.js#L79 in .eslintrc file in this repository.
example -
"overrides": [
{
"files": [ "src/**/tests/*", "test/**/*" ],
"rules": {
"no-unused-vars": ["warn", {
"argsIgnorePattern": "^_"
}]
}
}
],
Purpose
Update Jest/RTL tests
Approach
Refs
https://issues.folio.org/browse/UIREQ-996