Skip to content

Commit ec70cb5

Browse files
[autofix.ci] apply automated fixes
1 parent fe620b2 commit ec70cb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/oxc_linter/src/rules/jest/no_conditional_in_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ impl Rule for NoConditionalInTest {
106106
| AstKind::LogicalExpression(_) => {}
107107
_ => return,
108108
}
109-
109+
110110
let is_if_statement_in_test = ctx.nodes().ancestors(node.id()).any(|node| {
111111
let AstKind::CallExpression(call_expr) = node.kind() else { return false };
112112
let vitest_node = PossibleJestNode { node, original: None };

0 commit comments

Comments
 (0)