Skip to content

Commit

Permalink
remove unnecessary tests
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleShit committed Jan 25, 2024
1 parent 3158dad commit b0bc73d
Showing 1 changed file with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,16 +293,6 @@ ruleTester.run('no-useless-template-literals', rule, {
],
},

{
code: noFormat`\`\${ Infinity }\`;`,
output: '`Infinity`;',
errors: [
{
messageId: 'noUselessTemplateLiteral',
},
],
},

{
code: '`${NaN}`;',
output: '`NaN`;',
Expand All @@ -316,16 +306,6 @@ ruleTester.run('no-useless-template-literals', rule, {
],
},

{
code: noFormat`\`\${ NaN }\`;`,
output: '`NaN`;',
errors: [
{
messageId: 'noUselessTemplateLiteral',
},
],
},

{
code: "`${'a'} ${'b'}`;",
output: '`a b`;',
Expand Down

0 comments on commit b0bc73d

Please sign in to comment.