forked from mirror/misskey
Update timeline.ts
This commit is contained in:
parent
880448d068
commit
bbcda73af8
@ -24,7 +24,7 @@ describe('Renote Mute', () => {
|
|||||||
test('タイムラインに自分の visibility: followers なノートが含まれる', async () => {
|
test('タイムラインに自分の visibility: followers なノートが含まれる', async () => {
|
||||||
const [alice, bob, carol] = await Promise.all([signup(), signup(), signup()]);
|
const [alice, bob, carol] = await Promise.all([signup(), signup(), signup()]);
|
||||||
|
|
||||||
const aliceNote = await post(alice, { text: 'hi', visibility: 'followers' });
|
const aliceNote = await post(alice, { text: 'hi', visibility: 'followers' });
|
||||||
|
|
||||||
// redisに追加されるのを待つ
|
// redisに追加されるのを待つ
|
||||||
await sleep(100);
|
await sleep(100);
|
||||||
@ -256,7 +256,7 @@ describe('Renote Mute', () => {
|
|||||||
userId: bob.id,
|
userId: bob.id,
|
||||||
}, alice);
|
}, alice);
|
||||||
const carolNote = await post(carol, { text: 'hi' });
|
const carolNote = await post(carol, { text: 'hi' });
|
||||||
const bobNote = await post(bob, { text: 'hi', renoteId: carolNote.id });
|
const bobNote = await post(bob, { text: 'hi', renoteId: carolNote.id });
|
||||||
|
|
||||||
// redisに追加されるのを待つ
|
// redisに追加されるのを待つ
|
||||||
await sleep(100);
|
await sleep(100);
|
||||||
|
Loading…
Reference in New Issue
Block a user