diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/app.controller.spec.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/server/app.controller.spec.ts b/server/app.controller.spec.ts index c60632d..35a53c5 100644 --- a/server/app.controller.spec.ts +++ b/server/app.controller.spec.ts @@ -1,5 +1,5 @@ import { Test, TestingModule } from '@nestjs/testing'; -import { AppController } from './app.controller'; +import { AppController } from 'server/app.controller'; describe('AppController', () => { let appController: AppController; @@ -13,9 +13,9 @@ describe('AppController', () => { appController = app.get<AppController>(AppController); }); - // describe('root', () => { - // it('should return "Hello World!"', () => { - // expect(appController.getHello()).toBe('Hello World!'); - // }); - // }); + describe('root', () => { + it('should return "Hello World!"', () => { + expect(appController.index()).toBe('Hello World!'); + }); + }); }); |