I don't actually know how esprima parse trees look for other unary expressions, but it seems like this line should be:

```coffee
if node.value.type is 'UnaryExpression' and node.value.argument.type is 'Identifier' and node.value.argument.name is 'Infinity'
```