feat: deduct personal expenses from deposit refunds
This commit is contained in:
@@ -5,7 +5,7 @@ describe('DepositsService permission-scoped lookups', () => {
|
||||
const studentRepo = {
|
||||
find: jest.fn().mockResolvedValue([{ id: 2, name: '张三', studentNo: 'S2' }]),
|
||||
};
|
||||
const service = new DepositsService({} as never, {} as never, studentRepo as never);
|
||||
const service = new DepositsService({} as never, {} as never, studentRepo as never, {} as never);
|
||||
|
||||
await expect(service.getStudentLookups()).resolves.toEqual([
|
||||
{ id: 2, name: '张三', studentNo: 'S2' },
|
||||
|
||||
Reference in New Issue
Block a user