ast .find(j.CallExpression) .closest(j.ExpressionStatement) .insertAfter([ j.expressionStatement(j.callExpression(j.identifier("asd"), [])), ]);