diff --git a/src/stores/mocks/exampleCartValues.ts b/src/stores/mocks/exampleCartValues.ts index cd56a49..6b4d373 100644 --- a/src/stores/mocks/exampleCartValues.ts +++ b/src/stores/mocks/exampleCartValues.ts @@ -1,11 +1,26 @@ import { Cart } from "../../model/cart"; import { Tariffs } from "../../model/tariff"; +import { User } from "../../model/user"; +type TestCase = { + input: { + UserInformation: User; + Products: Array<{ + ID: string; + Amount: number; + Price?: number; + }>; + }; + expect: { + price: number; + envolvedDiscounts: string[]; + }; +}; type ExampleCartValues = { privileges: Tariffs.Privilege[]; discounts: Cart.AnyDiscount[]; - testCases: any; + testCases: TestCase[]; }; export const exampleCartValues: ExampleCartValues = {