mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
fix(api): 🐛 Fix duplicated mentions, general refactorings
This commit is contained in:
parent
84a0a07ea6
commit
e293bd280d
5 changed files with 29 additions and 29 deletions
|
|
@ -43,7 +43,6 @@ mock.module("@versia/kit/db", () => ({
|
|||
},
|
||||
Notification: {
|
||||
fromSql: jest.fn(),
|
||||
insert: jest.fn(),
|
||||
},
|
||||
}));
|
||||
|
||||
|
|
@ -242,6 +241,7 @@ describe("InboxProcessor", () => {
|
|||
id: "followee-id",
|
||||
data: { isLocked: false },
|
||||
sendFollowAccept: jest.fn(),
|
||||
notify: jest.fn(),
|
||||
};
|
||||
const mockRelationship = {
|
||||
data: { following: false },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue