Skip to content

Commit

Permalink
add parser to unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Darveniza committed Jun 20, 2021
1 parent 304141d commit f455285
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/lib/rules/jsx-no-useless-fragment.js
Expand Up @@ -239,7 +239,8 @@ ruleTester.run('jsx-no-useless-fragment', rule, {
code: '<><Foo>{moo}</Foo></>',
options: [{allowExpressions: true}],
errors: [{messageId: 'NeedsMoreChildren'}],
output: '<Foo>{moo}</Foo>'
output: '<Foo>{moo}</Foo>',
parser: parsers.BABEL_ESLINT
}
]
});

0 comments on commit f455285

Please sign in to comment.