mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-22 14:05:12 +00:00
Update packages/backend/test/e2e/mute.ts
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
This commit is contained in:
parent
ca6399437c
commit
5904d98208
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ describe('Mute', () => {
|
||||||
assert.strictEqual(res.body.some((notification: any) => notification.userId === bob.id), true);
|
assert.strictEqual(res.body.some((notification: any) => notification.userId === bob.id), true);
|
||||||
assert.strictEqual(res.body.some((notification: any) => notification.userId === carol.id), false);
|
assert.strictEqual(res.body.some((notification: any) => notification.userId === carol.id), false);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('通知にミュートしているユーザーからのリプライが含まれない', async () => {
|
test('通知にミュートしているユーザーからのリプライが含まれない', async () => {
|
||||||
const aliceNote = await post(alice, { text: 'hi' });
|
const aliceNote = await post(alice, { text: 'hi' });
|
||||||
await post(bob, { text: '@alice hi', replyId: aliceNote.id });
|
await post(bob, { text: '@alice hi', replyId: aliceNote.id });
|
||||||
|
|
Loading…
Reference in a new issue