diff --git a/tests/lib/rules/jsx-handler-names.js b/tests/lib/rules/jsx-handler-names.js index be8deaf94d..111aaa00ac 100644 --- a/tests/lib/rules/jsx-handler-names.js +++ b/tests/lib/rules/jsx-handler-names.js @@ -83,6 +83,16 @@ ruleTester.run('jsx-handler-names', rule, { '' ].join('\n'), parser: 'babel-eslint' + }, { + code: [ + '' + ].join('\n'), + parser: 'babel-eslint' + }, { + code: [ + '' + ].join('\n'), + parser: 'babel-eslint' }], invalid: [{ @@ -109,5 +119,11 @@ ruleTester.run('jsx-handler-names', rule, { ].join('\n'), parser: 'babel-eslint', errors: [{message: 'Handler function for onChange prop key must begin with \'handle\''}] + }, { + code: [ + '' + ].join('\n'), + parser: 'babel-eslint', + errors: [{message: 'Handler function for onChange prop key must begin with \'handle\''}] }] });