-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Labels

Description
/* eslint ava/no-identical-title: "error" */
const test = require('ava');
test(t => t.pass());
Running eslint on that results in:
TypeError: Cannot read property 'type' of undefined
Occurred while linting hello.ava.js:3
at isStatic (node_modules/eslint-plugin-ava/rules/no-identical-title.js:12:31)
at node_modules/eslint-plugin-ava/rules/no-identical-title.js:35:9
at node_modules/enhance-visitors/index.js:25:12
at node_modules/enhance-visitors/index.js:15:7
at node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)