feature: compatibility with various IDEs

This commit is contained in:
Kamil Myśliwiec
2018-12-07 12:51:42 +01:00
parent 1bbfc970c8
commit 1b81bde89e
8 changed files with 30 additions and 64 deletions
+2 -3
View File
@@ -1,5 +1,4 @@
import { Test, TestingModule } from '@nestjs/testing';
import { INestApplication } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';
@@ -13,10 +12,10 @@ describe('AppController', () => {
}).compile();
});
describe('root', () => {
describe('getHello', () => {
it('should return "Hello World!"', () => {
const appController = app.get<AppController>(AppController);
expect(appController.root()).toBe('Hello World!');
expect(appController.getHello()).toBe('Hello World!');
});
});
});