Skip to content

Commit d7ceaa9

Browse files
fix(backend): attempt to fix flaky e2e test on home timeline streaming (#17312)
1 parent 55b0fbd commit d7ceaa9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/backend/test/e2e/streaming.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ describe('Streaming', () => {
172172
const fired = await waitFire(
173173
ayano, 'homeTimeline', // ayano:home
174174
() => api('notes/create', { text: 'bar', visibility: 'followers', replyId: note.id }, kyoko), // kyoko posts
175-
msg => msg.type === 'note' && msg.body.userId === kyoko.id && msg.body.reply.text === 'foo',
175+
msg => msg.type === 'note' && msg.body.userId === kyoko.id && msg.body.replyId === note.id,
176176
);
177177

178178
assert.strictEqual(fired, true);

0 commit comments

Comments
 (0)