From e6dac76303ad2e106c951a701b0a371d1e078cf1 Mon Sep 17 00:00:00 2001 From: Mariela Date: Fri, 1 Jul 2022 14:22:21 -0600 Subject: [PATCH] delete app controller, service ay spec de foro de comunicados --- .../src/app.controller.spec.ts | 22 ------------------- .../src/app.controller.ts | 12 ---------- .../src/app.service.ts | 8 ------- 3 files changed, 42 deletions(-) delete mode 100644 servicio-foro-comunicaciones/src/app.controller.spec.ts delete mode 100644 servicio-foro-comunicaciones/src/app.controller.ts delete mode 100644 servicio-foro-comunicaciones/src/app.service.ts diff --git a/servicio-foro-comunicaciones/src/app.controller.spec.ts b/servicio-foro-comunicaciones/src/app.controller.spec.ts deleted file mode 100644 index d22f3890..00000000 --- a/servicio-foro-comunicaciones/src/app.controller.spec.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Test, TestingModule } from '@nestjs/testing'; -import { AppController } from './app.controller'; -import { AppService } from './app.service'; - -describe('AppController', () => { - let appController: AppController; - - beforeEach(async () => { - const app: TestingModule = await Test.createTestingModule({ - controllers: [AppController], - providers: [AppService], - }).compile(); - - appController = app.get(AppController); - }); - - describe('root', () => { - it('should return "Hello World!"', () => { - expect(appController.getHello()).toBe('Hello World!'); - }); - }); -}); diff --git a/servicio-foro-comunicaciones/src/app.controller.ts b/servicio-foro-comunicaciones/src/app.controller.ts deleted file mode 100644 index cce879ee..00000000 --- a/servicio-foro-comunicaciones/src/app.controller.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Controller, Get } from '@nestjs/common'; -import { AppService } from './app.service'; - -@Controller() -export class AppController { - constructor(private readonly appService: AppService) {} - - @Get() - getHello(): string { - return this.appService.getHello(); - } -} diff --git a/servicio-foro-comunicaciones/src/app.service.ts b/servicio-foro-comunicaciones/src/app.service.ts deleted file mode 100644 index 927d7cca..00000000 --- a/servicio-foro-comunicaciones/src/app.service.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Injectable } from '@nestjs/common'; - -@Injectable() -export class AppService { - getHello(): string { - return 'Hello World!'; - } -}