Fix incorrect import and pass linter

This commit is contained in:
Troy DeSpain 2022-01-14 13:20:24 -07:00
parent f533c48fc9
commit 5aa5ea3843

View File

@ -1,7 +1,7 @@
import { Test, TestingModule } from '@nestjs/testing';
import { INestApplication } from '@nestjs/common';
import * as request from 'supertest';
import { AppModule } from './../src/app.module';
import { AppModule } from './../server/app.module';
describe('AppController (e2e)', () => {
let app: INestApplication;
@ -16,9 +16,6 @@ describe('AppController (e2e)', () => {
});
it('/ (GET)', () => {
return request(app.getHttpServer())
.get('/')
.expect(200)
.expect('Hello World!');
return request(app.getHttpServer()).get('/').expect(200).expect('Hello World!');
});
});