Skip to content

Commit

Permalink
strict null checks
Browse files Browse the repository at this point in the history
  • Loading branch information
rezoled committed Jul 15, 2024
1 parent 6472f1a commit 0241a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/MockableFunctionsFinder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function extractFunctionNames(nodes: (_babel_types.Statement | FunctionNode)[])

if (node.type === "ExpressionStatement") {
const name = handleExpression(node.expression);
if (name) names.push(name)
if (name) names.push(name);
}

if (node.type === "VariableDeclaration") {
Expand Down

0 comments on commit 0241a9e

Please sign in to comment.