perf: 移除秒杀相关功能
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { FlashSaleService } from '../../flash-sale/flash-sale.service'
|
||||
import { Test, TestingModule } from '@nestjs/testing'
|
||||
import { Logger } from '@nestjs/common'
|
||||
import { SchedulerService } from '../scheduler.service'
|
||||
@@ -34,7 +33,6 @@ describe('SchedulerService', () => {
|
||||
providers: [
|
||||
SchedulerService,
|
||||
{ provide: SlotGeneratorService, useValue: mockSlotGenerator },
|
||||
{ provide: FlashSaleService, useValue: { expireUnpaidReservations: jest.fn() } },
|
||||
],
|
||||
}).compile()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user