mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-01 01:29:31 +08:00
feat: new free plan (#5604)
This commit is contained in:
@@ -182,7 +182,7 @@ test('should reject blob exceeded limit', async t => {
|
||||
const buffer2 = Buffer.from(Array.from({ length: OneMB + 1 }, () => 0));
|
||||
await t.notThrowsAsync(setBlob(app, u1.token.token, workspace1.id, buffer2));
|
||||
|
||||
const buffer3 = Buffer.from(Array.from({ length: 10 * OneMB + 1 }, () => 0));
|
||||
const buffer3 = Buffer.from(Array.from({ length: 100 * OneMB + 1 }, () => 0));
|
||||
await t.throwsAsync(setBlob(app, u1.token.token, workspace1.id, buffer3));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user