Skip to content

Commit

Permalink
Update createTestingPoliceModule.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
unakb committed Oct 7, 2024
1 parent 684c512 commit 915d5cd
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { AwsS3Service } from '../../aws-s3'
import { CaseService } from '../../case'
import { InternalCaseService } from '../../case/internalCase.service'
import { EventService } from '../../event'
import { SubpoenaService } from '../../subpoena'
import { policeModuleConfig } from '../police.config'
import { PoliceController } from '../police.controller'
import { PoliceService } from '../police.service'
Expand All @@ -20,6 +21,7 @@ jest.mock('../../event/event.service')
jest.mock('../../aws-s3/awsS3.service.ts')
jest.mock('../../case/case.service.ts')
jest.mock('../../case/internalCase.service.ts')
jest.mock('../../subpoena/subpoena.service.ts')

export const createTestingPoliceModule = async () => {
const policeModule = await Test.createTestingModule({
Expand All @@ -36,6 +38,7 @@ export const createTestingPoliceModule = async () => {
CaseService,
InternalCaseService,
PoliceService,
SubpoenaService,
{
provide: LOGGER_PROVIDER,
useValue: {
Expand Down

0 comments on commit 915d5cd

Please sign in to comment.