Skip to content

Commit

Permalink
test lodash underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Oct 8, 2019
1 parent 120c87a commit 3512b16
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/prefer-includes.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ ruleTester.run('prefer-includes', rule, {
'null.indexOf(\'foo\') !== 1',
'f(0) < 0',
'[].indexOf(foo, \'bar\', 0) !== -1',
'_.indexOf(foo, bar) !== -1'
'_.indexOf(foo, bar) !== -1',
'lodash.indexOf(foo, bar) !== -1',
'underscore.indexOf(foo, bar) !== -1'
],
invalid: [
{
Expand Down

0 comments on commit 3512b16

Please sign in to comment.