We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94343f7 commit ecde7afCopy full SHA for ecde7af
packages/auth/test/local-auth.spec.ts
@@ -1,6 +1,6 @@
1
import { INestApplication, Module } from '@nestjs/common'
2
import { Test as NestTest, TestingModule } from '@nestjs/testing'
3
-import request, { SuperTest, Test } from 'supertest'
+import request from 'supertest'
4
5
import { UserService } from '../examples'
6
import { JwtGuard, LocalAuthModule, LocalGuard } from '../src'
@@ -15,7 +15,7 @@ class UserModule {}
15
describe('Local Authentication', () => {
16
let testModule: TestingModule
17
let app: INestApplication
18
- let testServer: SuperTest<Test>
+ let testServer: ReturnType<typeof request>
19
let bearerToken: string
20
21
beforeAll(async () => {
0 commit comments