feat: add session impl (#6254)

This commit is contained in:
darkskygit committed 2024-04-10 11:15:25 +00:00
1 parent 8a02c81745
commit 46a368d7f1
16 files changed
+1033 -88

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ test('should be able to set quota', async t => {
const q1 = await quota.getUserQuota(u1.id);
t.truthy(q1, 'should have quota');
t.is(q1?.feature.name, QuotaType.FreePlanV1, 'should be free plan');
t.is(q1?.feature.version, 3, 'should be version 2');
t.is(q1?.feature.version, 3, 'should be version 3');
await quota.switchUserQuota(u1.id, QuotaType.ProPlanV1);