fix(api): 🐛 Fix duplicated mentions, general refactorings

This commit is contained in:
Jesse Wierzbinski 2024-12-09 15:30:18 +01:00
parent 84a0a07ea6
commit e293bd280d
No known key found for this signature in database
5 changed files with 29 additions and 29 deletions

View file

@ -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 },