forked from mirrors/misskey
fix(backend): attempt to fix flaky e2e test on home timeline streaming (#17312)
This commit is contained in:
parent
55b0fbd172
commit
d7ceaa9c88
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue