fix(backend): attempt to fix flaky e2e test on home timeline streaming (#17312)

This commit is contained in:
かっこかり 2026-04-15 11:37:20 +09:00 committed by GitHub
commit d7ceaa9c88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);