Skip to content

Commit

Permalink
Update auth.e2e-spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBartusek committed Mar 8, 2024
1 parent eab2019 commit ad16ae0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/api/test/auth.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Test, TestingModule } from '@nestjs/testing';
import * as request from 'supertest';
import { AppModule } from '../src/app.module';
import { configureNestTestApp } from './configure-test-app';
import { NestExpressApplication } from '@nestjs/platform-express';

describe('AuthController (e2e)', () => {
let app: INestApplication;
Expand All @@ -12,7 +13,7 @@ describe('AuthController (e2e)', () => {
imports: [AppModule],
}).compile();

app = moduleFixture.createNestApplication();
app = moduleFixture.createNestApplication<NestExpressApplication>();
configureNestTestApp(app);
await app.init();
});
Expand Down

0 comments on commit ad16ae0

Please sign in to comment.