test: improve coverage for some files (#33218)

This commit is contained in:
Saumya Talwani
2026-03-12 12:39:10 +05:30
committed by GitHub
parent 68982f910e
commit ed5511ce28
61 changed files with 3191 additions and 304 deletions

View File

@ -36,6 +36,7 @@ const VariableLabel = ({
)}
onClick={onClick}
ref={ref}
{...(isExceptionVariable ? { 'data-testid': 'exception-variable' } : {})}
>
{isShowNodeLabel && (
<VariableNodeLabel
@ -47,7 +48,7 @@ const VariableLabel = ({
notShowFullPath && (
<>
<RiMoreLine className="h-3 w-3 shrink-0 text-text-secondary" />
<div className="system-xs-regular shrink-0 text-divider-deep">/</div>
<div className="shrink-0 text-divider-deep system-xs-regular">/</div>
</>
)
}
@ -62,7 +63,7 @@ const VariableLabel = ({
/>
{
!!variableType && (
<div className="system-xs-regular shrink-0 text-text-tertiary">
<div className="shrink-0 text-text-tertiary system-xs-regular">
{capitalize(variableType)}
</div>
)