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 { Test, TestingModule } from '@nestjs/testing';
|
||||||
import { PipelineTasksService } from '../pipeline-tasks/pipeline-tasks.service';
|
|
||||||
import { CommitLogsResolver } from './commit-logs.resolver';
|
import { CommitLogsResolver } from './commit-logs.resolver';
|
||||||
import { PipelinesService } from './pipelines.service';
|
|
||||||
|
|
||||||
describe('CommitLogsResolver', () => {
|
describe('CommitLogsResolver', () => {
|
||||||
let resolver: CommitLogsResolver;
|
let resolver: CommitLogsResolver;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
const module: TestingModule = await Test.createTestingModule({
|
const module: TestingModule = await Test.createTestingModule({
|
||||||
providers: [
|
providers: [CommitLogsResolver],
|
||||||
CommitLogsResolver,
|
|
||||||
{
|
|
||||||
provide: PipelinesService,
|
|
||||||
useValue: {},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
provide: PipelineTasksService,
|
|
||||||
useValue: {},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}).compile();
|
}).compile();
|
||||||
|
|
||||||
resolver = module.get<CommitLogsResolver>(CommitLogsResolver);
|
resolver = module.get<CommitLogsResolver>(CommitLogsResolver);
|
||||||
|
Loading…
Reference in New Issue
Block a user