From 211a90590fda27037407393dcb34c6ad6f1dd831 Mon Sep 17 00:00:00 2001 From: Ivan Date: Thu, 25 Mar 2021 10:51:16 +0800 Subject: [PATCH] test: pass the test case. --- src/pipeline-tasks/pipeline-tasks.resolver.spec.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pipeline-tasks/pipeline-tasks.resolver.spec.ts b/src/pipeline-tasks/pipeline-tasks.resolver.spec.ts index 0b03429..1445bae 100644 --- a/src/pipeline-tasks/pipeline-tasks.resolver.spec.ts +++ b/src/pipeline-tasks/pipeline-tasks.resolver.spec.ts @@ -1,6 +1,7 @@ import { Test, TestingModule } from '@nestjs/testing'; import { PipelineTasksResolver } from './pipeline-tasks.resolver'; import { PipelineTaskLogsService } from './pipeline-task-logs.service'; +import { PipelineTasksService } from './pipeline-tasks.service'; describe('PipelineTasksResolver', () => { let resolver: PipelineTasksResolver; @@ -9,6 +10,10 @@ describe('PipelineTasksResolver', () => { const module: TestingModule = await Test.createTestingModule({ providers: [ PipelineTasksResolver, + { + provide: PipelineTasksService, + useValue: {}, + }, { provide: PipelineTaskLogsService, useValue: {},