Skip to content

Commit

Permalink
over covered case
Browse files Browse the repository at this point in the history
  • Loading branch information
Omri Luzon committed Dec 24, 2022
1 parent 12effef commit 0afc516
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions packages/eslint-plugin/tests/rules/prefer-optional-chain.test.ts
Expand Up @@ -1426,20 +1426,5 @@ foo?.bar(/* comment */a,
},
],
},
{
code: 'a[a.#b] && a[a.#b].c;',
output: null,
errors: [
{
messageId: 'preferOptionalChain',
suggestions: [
{
messageId: 'optionalChainSuggest',
output: 'a[a.#b]?.c;',
},
],
},
],
},
],
});

0 comments on commit 0afc516

Please sign in to comment.