diff --git a/lib/rules/named-spy.js b/lib/rules/named-spy.js index d2b55fb..ad4231c 100644 --- a/lib/rules/named-spy.js +++ b/lib/rules/named-spy.js @@ -22,10 +22,6 @@ module.exports = function (context) { var identifier = findIdentifier(node) - if (node.arguments.length) { - console.log(node.arguments[0].value) - } - if (!node.arguments.length || node.arguments[0].type !== 'Literal') { context.report(node, 'Unnamed spy') } else if (node.arguments[0].value !== identifier.name) {