mirror of
https://github.com/langgenius/dify.git
synced 2026-04-30 07:28:05 +08:00
test: improve coverage for some files (#33218)
This commit is contained in:
@ -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>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user