All files / libs/kernel/testing/server/bed/src/test-utils/fixtures/abTasty planAssignments.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 PlanAssignment } from '@amalia/core/models';
 
import { company } from './company';
import { plans } from './plans';
import { users } from './users';
 
export const planAssignments = [
  {
    id: '8ea3c42b-35eb-4e2b-911b-2dde0c28628f',
    planId: plans.bonus.id,
    userId: users.antoine.id,
    plan: plans.bonus,
    user: users.antoine,
    company,
    createdAt: new Date(),
    updatedAt: new Date(),
    effectiveAsOf: null,
    effectiveUntil: null,
    mainTeamId: null,
  },
  {
    id: '8ea3c42b-35eb-4e2b-911b-2dde0c28629f',
    planId: plans.conditionsTests.id,
    userId: users.antoine.id,
    plan: plans.conditionsTests,
    user: users.antoine,
    company,
    createdAt: new Date(),
    updatedAt: new Date(),
    effectiveAsOf: null,
    effectiveUntil: null,
    mainTeamId: null,
  },
  {
    id: '4f490f3e-896b-4a5e-8d1f-501bab01bfe1',
    planId: plans.relation.id,
    userId: users.antoine.id,
    plan: plans.relation,
    user: users.antoine,
    company,
    createdAt: new Date(),
    updatedAt: new Date(),
    effectiveAsOf: null,
    effectiveUntil: null,
    mainTeamId: null,
  },
  {
    id: 'd157249b-a7e1-4018-93c2-0944b60d26c5',
    planId: plans.relation.id,
    userId: users.admin.id,
    plan: plans.relation,
    user: users.admin,
    company,
    createdAt: new Date(),
    updatedAt: new Date(),
    effectiveAsOf: null,
    effectiveUntil: null,
    mainTeamId: null,
  },
] as const satisfies PlanAssignment[];