1
0
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:
かっこかり
2026-04-15 11:37:20 +09:00
committed by GitHub
parent 55b0fbd172
commit d7ceaa9c88

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