All files / libs/plan-agreements/shared/src/lib/business-rules/agreements/is-confirmation-required is-confirmation-required.ts

100% Statements 7/7
100% Branches 1/1
100% Functions 2/2
100% Lines 5/5

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

1 2 3 4 5 61x 1x 142x 143x 1x  
import { PlanAgreementConfirmationMethod, type PlanAgreement } from '@amalia/plan-agreements/types';
 
export const isPlanAgreementConfirmationRequired = (
  planAgreement: Pick<PlanAgreement, 'confirmationMethod'>,
): boolean => PlanAgreementConfirmationMethod.NO_CONFIRMATION !== planAgreement.confirmationMethod;