fix(types): add os import, drop invalid id fields in tests after #3416/#3510 drop

This commit is contained in:
can1357
2026-06-27 02:10:41 +02:00
parent adcb951d5d
commit 667319adb4
12 changed files with 129 additions and 204 deletions
+2 -2
View File
@@ -223,7 +223,7 @@ describe("formatUsageBreakdown", () => {
metadata: { email: "future@example.test" },
resetCredits: {
availableCount: 1,
credits: [{ id: "future-reset", expiresAt: "2026-01-03T00:00:00.000Z" }],
credits: [{ expiresAt: "2026-01-03T00:00:00.000Z" }],
},
},
{
@@ -233,7 +233,7 @@ describe("formatUsageBreakdown", () => {
metadata: { email: "expired@example.test" },
resetCredits: {
availableCount: 1,
credits: [{ id: "expired-reset", expiresAt: "2025-12-30T00:00:00.000Z" }],
credits: [{ expiresAt: "2025-12-30T00:00:00.000Z" }],
},
},
];