no need spec
This commit is contained in:
parent
37dcac866c
commit
321a525e07
2 changed files with 0 additions and 36 deletions
|
@ -1,18 +0,0 @@
|
|||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { ApiController } from './api.controller';
|
||||
|
||||
describe('ApiController', () => {
|
||||
let controller: ApiController;
|
||||
|
||||
beforeEach(async () => {
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
controllers: [ApiController],
|
||||
}).compile();
|
||||
|
||||
controller = module.get<ApiController>(ApiController);
|
||||
});
|
||||
|
||||
it('should be defined', () => {
|
||||
expect(controller).toBeDefined();
|
||||
});
|
||||
});
|
|
@ -1,18 +0,0 @@
|
|||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { CrawlerService } from './crawler.service';
|
||||
|
||||
describe('CrawlerService', () => {
|
||||
let service: CrawlerService;
|
||||
|
||||
beforeEach(async () => {
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
providers: [CrawlerService],
|
||||
}).compile();
|
||||
|
||||
service = module.get<CrawlerService>(CrawlerService);
|
||||
});
|
||||
|
||||
it('should be defined', () => {
|
||||
expect(service).toBeDefined();
|
||||
});
|
||||
});
|
Loading…
Reference in a new issue