Browse Source

test(core): Fix failing test suite

Michael Bromley 2 years ago
parent
commit
5c5c375cb4
1 changed files with 4 additions and 0 deletions
  1. 4 0
      packages/core/src/job-queue/job-queue.service.spec.ts

+ 4 - 0
packages/core/src/job-queue/job-queue.service.spec.ts

@@ -463,6 +463,10 @@ class MockConfigService implements OnApplicationBootstrap, OnModuleDestroy {
         jobBufferStorageStrategy: testJobBufferStorageStrategy,
     };
 
+    systemOptions = {
+        errorHandlers: [],
+    };
+
     async onApplicationBootstrap() {
         const injector = new Injector(this.moduleRef);
         this.jobQueueOptions.jobQueueStrategy.init(injector);