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

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

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 181x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
import { type WorkflowCampaign } from '@amalia/core/models';
import { WorkflowCampaignStatusEnum } from '@amalia/payout-calculation/workflow-campaign/types';
 
import { company } from './company';
import { statements } from './statements';
 
export const workflowCampaigns = {
  campaign1: {
    companyId: company.id,
    periodId: statements.october2019Employee1.periodId,
    planId: statements.october2019Employee1.planId,
    status: WorkflowCampaignStatusEnum.STARTED,
    startedAt: new Date('2019-10-01T00:00:00Z'),
    closingPeriodEndDate: null,
    closingPeriodStartDate: null,
  },
} as const satisfies Record<string, WorkflowCampaign>;