Skip to content

Commit

Permalink
test(eslint-plugin): add generator star
Browse files Browse the repository at this point in the history
  • Loading branch information
phaux committed Mar 22, 2021
1 parent c52b6f9 commit e41cf62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/eslint-plugin/tests/util/getWrappingFixer.test.ts
Expand Up @@ -179,9 +179,9 @@ ruleTester.run('getWrappingFixer', rule, {
output: 'function fn() { return void wrapMe }',
},
{
code: 'function fn() { yield wrapMe }',
code: 'function* fn() { yield wrapMe }',
errors: [{ messageId: 'addVoid' }],
output: 'function fn() { yield void wrapMe }',
output: 'function* fn() { yield void wrapMe }',
},
{
code: '() => wrapMe',
Expand Down

0 comments on commit e41cf62

Please sign in to comment.