Compare commits
No commits in common. "092cf9c41849c940ef127c9fdf415577d0cca175" and "22be1ffb332ddde684678720d7f607fdb16ac16e" have entirely different histories.
092cf9c418
...
22be1ffb33
@ -1,24 +1,12 @@
|
||||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { PipelineTasksService } from '../pipeline-tasks/pipeline-tasks.service';
|
||||
import { CommitLogsResolver } from './commit-logs.resolver';
|
||||
import { PipelinesService } from './pipelines.service';
|
||||
|
||||
describe('CommitLogsResolver', () => {
|
||||
let resolver: CommitLogsResolver;
|
||||
|
||||
beforeEach(async () => {
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
providers: [
|
||||
CommitLogsResolver,
|
||||
{
|
||||
provide: PipelinesService,
|
||||
useValue: {},
|
||||
},
|
||||
{
|
||||
provide: PipelineTasksService,
|
||||
useValue: {},
|
||||
},
|
||||
],
|
||||
providers: [CommitLogsResolver],
|
||||
}).compile();
|
||||
|
||||
resolver = module.get<CommitLogsResolver>(CommitLogsResolver);
|
||||
|
Loading…
Reference in New Issue
Block a user