no need spec

This commit is contained in:
Kfir Dayan 2023-04-17 19:47:01 +03:00
parent 37dcac866c
commit 321a525e07
2 changed files with 0 additions and 36 deletions

View file

@ -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();
});
});

View file

@ -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();
});
});