Skip to content

Commit

Permalink
fix(named-spy): removed forgotten debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdan Lupu authored and Nicolas Fernandez committed Dec 2, 2016
1 parent 1d843e3 commit 8f84153
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/rules/named-spy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8f84153

Please sign in to comment.