Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: blob test flaky (#6929)

darkskygitb8333de1199d
diff --git a/packages/backend/server/tests/workspace-blobs.spec.ts b/packages/backend/server/tests/workspace-blobs.spec.ts
index 54ebc2bb75..3e81d5fbf7 100644
--- a/packages/backend/server/tests/workspace-blobs.spec.ts
+++ b/packages/backend/server/tests/workspace-blobs.spec.ts
@@ -157,7 +157,7 @@ test('should be able calc quota after switch plan', async t => {
);
t.is(size1, 0, 'failed to check free plan blob size');
- quota.switchUserQuota(u1.id, QuotaType.ProPlanV1);
+ await quota.switchUserQuota(u1.id, QuotaType.ProPlanV1);
const size2 = await checkBlobSize(
app,