From 5aa5ea38435f10e3aefd71c305ba3acb4cbfd2d4 Mon Sep 17 00:00:00 2001 From: Troy DeSpain Date: Fri, 14 Jan 2022 13:20:24 -0700 Subject: [PATCH] Fix incorrect import and pass linter --- test/app.e2e-spec.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/app.e2e-spec.ts b/test/app.e2e-spec.ts index 50cda62..f6199de 100644 --- a/test/app.e2e-spec.ts +++ b/test/app.e2e-spec.ts @@ -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!'); }); });