Skip to content

Commit

Permalink
test(eslint-plugin): [consistent-type-assertions] add missing `output…
Browse files Browse the repository at this point in the history
…: null` causing lint failure on `main` (typescript-eslint#9136)

add output:null
  • Loading branch information
abrahamguo committed May 26, 2024
1 parent f366c72 commit 3461f45
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,7 @@ ruleTester.run('consistent-type-assertions', rule, {
}),
{
code: 'const foo = <Foo style={{ bar: 5 } as Bar} />;',
output: null,
parserOptions: {
ecmaFeatures: {
jsx: true,
Expand Down

0 comments on commit 3461f45

Please sign in to comment.