removed unneccesary files
This commit is contained in:
@@ -23,7 +23,8 @@ describe("rolloverFixedPlans", () => {
|
||||
select: { id: true },
|
||||
});
|
||||
|
||||
const results = await rolloverFixedPlans(prisma, "2025-01-10T00:00:00Z");
|
||||
// Rollover job only processes after 6 AM in the user's timezone.
|
||||
const results = await rolloverFixedPlans(prisma, "2025-01-10T10:00:00Z");
|
||||
const match = results.find((r) => r.planId === plan.id);
|
||||
expect(match?.cyclesAdvanced).toBe(1);
|
||||
expect(match?.deficitCents).toBe(4000);
|
||||
@@ -48,7 +49,8 @@ describe("rolloverFixedPlans", () => {
|
||||
select: { id: true },
|
||||
});
|
||||
|
||||
const results = await rolloverFixedPlans(prisma, "2025-02-05T00:00:00Z");
|
||||
// Rollover job only processes after 6 AM in the user's timezone.
|
||||
const results = await rolloverFixedPlans(prisma, "2025-02-05T10:00:00Z");
|
||||
const match = results.find((r) => r.planId === plan.id);
|
||||
expect(match?.cyclesAdvanced).toBe(2);
|
||||
expect(match?.carryForwardCents).toBe(2000);
|
||||
|
||||
Reference in New Issue
Block a user