All files / libs/reporting/dashboards-v2/shared/src/lib/business-rules/is-legacy-dashboard is-legacy-dashboard.ts

100% Statements 4/4
100% Branches 1/1
100% Functions 1/1
100% Lines 4/4

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 51x 1x 1x 1x  
import { DASHBOARD_LEGACY_ID, type LegacyDashboard } from '@amalia/reporting/dashboards-v2/types';
 
export const isLegacyDashboard = (dashboard: { id: string }): dashboard is LegacyDashboard =>
  dashboard.id === DASHBOARD_LEGACY_ID;