Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

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

import { getPatrolRuntimePresentation } from '@/utils/patrolRuntimePresentation';

describe('patrolRuntimePresentation', () => {
  it('keeps enabled state separate from a run-in-progress label', () => {
    expect(getPatrolRuntimePresentation('running')).toMatchObject({
      label: 'Patrol enabled',
      title: 'Patrol running',
      description: 'Patrol is checking your infrastructure now.',
      tone: 'info',
    });
  });
});