Browse Source

feat: Remove GET / endpoint since it's not being used

master
Konstantinos Kamaropoulos 5 years ago
parent
commit
4dbe016477
  1. 5
      src/app.controller.ts
  2. 18
      src/logs/logs.service.spec.ts

5
src/app.controller.ts

@ -4,9 +4,4 @@ import { AppService } from './app.service';
@Controller() @Controller()
export class AppController { export class AppController {
constructor(private readonly appService: AppService) {} constructor(private readonly appService: AppService) {}
@Get()
getHello(): string {
return this.appService.getHello();
}
} }

18
src/logs/logs.service.spec.ts

@ -0,0 +1,18 @@
import { Test, TestingModule } from '@nestjs/testing';
import { LogsService } from './logs.service';
describe('LogsService', () => {
let service: LogsService;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [LogsService],
}).compile();
service = module.get<LogsService>(LogsService);
});
it('should be defined', () => {
expect(service).toBeDefined();
});
});
Loading…
Cancel
Save