eslint-plugin-jest
Advanced tools
Comparing version 26.1.0-next.1 to 26.1.0-next.2
# Disallow conditional logic (`no-if`) | ||
## Deprecated | ||
This rule has been deprecated in favor of | ||
[`no-conditional-in-test`](no-conditional-in-test.md). | ||
Conditional logic in tests is usually an indication that a test is attempting to | ||
@@ -4,0 +9,0 @@ cover too much, and not testing the logic it intends to. Each branch of code |
@@ -33,2 +33,4 @@ "use strict"; | ||
}, | ||
deprecated: true, | ||
replacedBy: ['no-conditional-in-test'], | ||
schema: [], | ||
@@ -35,0 +37,0 @@ type: 'suggestion' |
{ | ||
"name": "eslint-plugin-jest", | ||
"version": "26.1.0-next.1", | ||
"version": "26.1.0-next.2", | ||
"description": "ESLint rules for Jest", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -170,3 +170,2 @@ <div align="center"> | ||
| [no-identical-title](docs/rules/no-identical-title.md) | Disallow identical titles | ![recommended][] | | | ||
| [no-if](docs/rules/no-if.md) | Disallow conditional logic | | | | ||
| [no-interpolation-in-snapshots](docs/rules/no-interpolation-in-snapshots.md) | Disallow string interpolation inside snapshots | ![recommended][] | | | ||
@@ -173,0 +172,0 @@ | [no-jasmine-globals](docs/rules/no-jasmine-globals.md) | Disallow Jasmine globals | ![recommended][] | ![fixable][] | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4645
264284
253