All files / libs/kernel/testing/server/bed/src/test-utils/fixtures/amalia planAgreementsAssignments.ts

100% Statements 60/60
100% Branches 0/0
100% Functions 0/0
100% Lines 60/60

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 611x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
import { type PlanAgreementAssignment } from '@amalia/core/models';
import { PlanAgreementAssignmentStatus } from '@amalia/plan-agreements/types';
 
import { company } from './company';
import { planAgreements } from './planAgreements';
import { users } from './users';
 
export const planAgreementsAssignments = [
  {
    id: '6fbcf3f5-ba04-4818-bbf2-1d785d2f9df3',
    planAgreement: planAgreements.planAgreementDraft1,
    user: users.employee1,
    status: PlanAgreementAssignmentStatus.DRAFT,
    googleDocId: '12345',
    companyId: company.id,
    createdAt: new Date(),
    updatedAt: new Date(),
  },
  {
    id: '49c926ab-9e02-4c87-8529-9e7c8b1e75c3',
    planAgreement: planAgreements.planAgreementDraft1,
    user: users.employee2,
    status: PlanAgreementAssignmentStatus.DRAFT,
    googleDocId: '12345',
    companyId: company.id,
    createdAt: new Date(),
    updatedAt: new Date(),
  },
  {
    id: 'd38979c8-5536-4a0c-93c1-808d82ae9edb',
    planAgreement: planAgreements.planAgreementFinalized,
    user: users.employee1,
    status: PlanAgreementAssignmentStatus.AGREEMENT_SENT,
    googleDocId: '12345',
    sentDate: new Date('2023-01-01T00:00:00.000Z'),
    companyId: company.id,
    createdAt: new Date(),
    updatedAt: new Date(),
  },
  {
    id: 'b3e249a2-0a93-4020-ab6f-dc60f82ac936',
    planAgreement: planAgreements.planAgreementFinalized,
    user: users.employee2,
    status: PlanAgreementAssignmentStatus.AGREEMENT_GENERATED,
    googleDocId: '12345',
    companyId: company.id,
    createdAt: new Date(),
    updatedAt: new Date(),
  },
  {
    id: '9737af6c-497d-44a8-89e7-55eab0943b08',
    planAgreement: planAgreements.planAgreementFinalized,
    user: users.admin,
    status: PlanAgreementAssignmentStatus.AGREEMENT_SENT,
    googleDocId: '12345',
    companyId: company.id,
    createdAt: new Date(),
    updatedAt: new Date(),
  },
] as const satisfies PlanAgreementAssignment[];