Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

415 B
Raw Blame
import { describe, expect, it } from 'vitest';

import { getCiVisual } from '@/features/AgentSidebar/Topic/List/Item/metaCardData';

import { statusTint } from '../statusTint';

describe('statusTint', () => {
  it('mixes the status color into the chip background', () => {
    const { color } = getCiVisual('failure');

    expect(statusTint(color)).toBe(`color-mix(in srgb, ${color} 14%, transparent)`);
  });
});