File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
apps/worker/src/app/workflow/services Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11import { Test } from '@nestjs/testing' ;
22import {
33 BullMqService ,
4+ FeatureFlagsService ,
45 PinoLogger ,
56 TriggerEvent ,
67 WorkflowInMemoryProviderService ,
@@ -29,12 +30,14 @@ describe('Workflow Worker', () => {
2930 WorkflowInMemoryProviderService
3031 ) ;
3132 const organizationRepository = moduleRef . get < CommunityOrganizationRepository > ( CommunityOrganizationRepository ) ;
33+ const featureFlagsService = moduleRef . get < FeatureFlagsService > ( FeatureFlagsService ) ;
3234
3335 workflowWorker = new WorkflowWorker (
3436 triggerEventUseCase ,
3537 workflowInMemoryProviderService ,
3638 organizationRepository ,
37- new PinoLogger ( { } )
39+ new PinoLogger ( { } ) ,
40+ featureFlagsService
3841 ) ;
3942
4043 workflowQueueService = new WorkflowQueueService ( workflowInMemoryProviderService ) ;
You can’t perform that action at this time.
0 commit comments