fixed test issues

This commit is contained in:
2025-12-27 22:11:23 +08:00
parent fb946f557f
commit 3134737c11
3 changed files with 16 additions and 1 deletions

View File

@@ -408,7 +408,11 @@ describe('FriendsService', () => {
expect(mockPrismaService.friendship.findMany).toHaveBeenCalledWith({
where: { userId: 'user-1' },
include: {
friend: true,
friend: {
include: {
activeDoll: true,
},
},
},
orderBy: {
createdAt: 'desc',