mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-05 01:55:36 +02:00
fix(backend): attempt to fix flaky e2e test on home timeline streaming (#17312)
This commit is contained in:
@@ -172,7 +172,7 @@ describe('Streaming', () => {
|
||||
const fired = await waitFire(
|
||||
ayano, 'homeTimeline', // ayano:home
|
||||
() => api('notes/create', { text: 'bar', visibility: 'followers', replyId: note.id }, kyoko), // kyoko posts
|
||||
msg => msg.type === 'note' && msg.body.userId === kyoko.id && msg.body.reply.text === 'foo',
|
||||
msg => msg.type === 'note' && msg.body.userId === kyoko.id && msg.body.replyId === note.id,
|
||||
);
|
||||
|
||||
assert.strictEqual(fired, true);
|
||||
|
||||
Reference in New Issue
Block a user