diff --git a/tests/a11y-no-visually-hidden-interactive-element.js b/tests/a11y-no-visually-hidden-interactive-element.js
index 7db8bb4..5879cf3 100644
--- a/tests/a11y-no-visually-hidden-interactive-element.js
+++ b/tests/a11y-no-visually-hidden-interactive-element.js
@@ -23,6 +23,9 @@ ruleTester.run('a11y-no-visually-hidden-interactive-element', rule, {
{code: "Text;"},
{code: ""},
{code: ""},
+ {
+ code: " { return isOn || isOnProps ? `${className} selected`.trim() : className ?? ''}}/>",
+ },
{code: "skip to main content"},
{code: ''},
{