All files / libs/kernel/testing/server/bed/src/test-utils/fixtures/acme statements.ts

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

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 511x 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 Statement } from '@amalia/core/models';
import { CurrencySymbolsEnum } from '@amalia/ext/iso-4217';
 
import { company } from './company';
import { periods } from './periods';
import { plans } from './plans';
import { users } from './users';
 
export const statements = {
  september2019Admin: {
    id: 'bcb72da4-49b3-4b8b-a3a2-f9459c9791e2',
    results: {
      rates: {},
      teamUsedDuringCalculationId: null,
      computedObjects: [],
      datasets: [],
      definitions: {
        plan: {
          ...plans.televente,
          rules: [],
          planAssignements: [],
          highlightedKpis: [],
        },
        customObjects: {},
        filters: {},
        relationships: {},
        variables: {},
      },
      planAssignment: {
        mainTeamId: null,
        user: users.admin,
        id: '43468e15-1b9c-44df-ba7a-32927519978a',
        plan: plans.televente,
        effectiveAsOf: null,
        effectiveUntil: null,
      },
    },
    periodId: periods.september2019.id,
    planId: plans.televente.id,
    userId: users.admin.id,
    workflowComplete: false,
    total: 1000,
    currency: CurrencySymbolsEnum.EUR,
    rate: 1,
    company,
    createdAt: new Date(),
    updatedAt: new Date(),
    error: null,
  },
} as const satisfies Record<string, Statement>;