doll active state

This commit is contained in:
2025-12-21 02:07:48 +08:00
parent 5bed1fc92e
commit cd71e97655
10 changed files with 310 additions and 5 deletions

View File

@@ -34,6 +34,10 @@ describe('DollsService', () => {
friendship: {
findMany: jest.fn().mockResolvedValue([]),
},
$transaction: jest.fn((callback) => callback(mockPrismaService)),
user: {
updateMany: jest.fn().mockResolvedValue({ count: 1 }),
},
};
const mockEventEmitter = {