diff options
author | dittonjs <jditton.atomic@gmail.com> | 2022-01-14 13:45:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-14 13:45:57 -0700 |
commit | 9b140bcdf9279844f2e2567ca7f7e17b5ebaeecf (patch) | |
tree | 5285ae662c380e0b401f055f622fc826b714886c | |
parent | f533c48fc918a8c5daed9f2a2989b541f3dc31f3 (diff) | |
parent | 5aa5ea38435f10e3aefd71c305ba3acb4cbfd2d4 (diff) | |
download | locchat-9b140bcdf9279844f2e2567ca7f7e17b5ebaeecf.tar.gz locchat-9b140bcdf9279844f2e2567ca7f7e17b5ebaeecf.zip |
Merge pull request #2 from despaintroy/patch-1
Fix incorrect import and pass linter
-rw-r--r-- | test/app.e2e-spec.ts | 7 |
1 files 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!'); }); }); |