fix: make sleep longer again

This commit is contained in:
zyoshoka 2025-02-28 23:30:33 +09:00
parent b19486a8e8
commit 55b997dbb3
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -381,7 +381,7 @@ describe('User', () => {
await alice.client.request('i/delete-account', { password: alice.password });
// NOTE: user deletion query is slow
await sleep(2000);
await sleep(4000);
const following = await bob.client.request('users/following', { userId: bob.id });
strictEqual(following.length, 0); // no following relation
@ -480,7 +480,7 @@ describe('User', () => {
await aAdmin.client.request('admin/suspend-user', { userId: alice.id });
// NOTE: user deletion query is slow
await sleep(2000);
await sleep(4000);
const following = await bob.client.request('users/following', { userId: bob.id });
strictEqual(following.length, 0); // no following relation