1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 19:34:34 +00:00

test: fix specs

This commit is contained in:
Saad Jutt
2022-04-24 05:11:56 +05:00
parent 7d31ee7696
commit fd15f3fb41

View File

@@ -8,7 +8,6 @@ import {
ClientController,
AuthController
} from '../../../controllers/'
import { populateClients } from '../auth'
import { InfoJWT } from '../../../types'
import {
generateAccessToken,
@@ -42,7 +41,6 @@ describe('auth', () => {
mongoServer = await MongoMemoryServer.create()
con = await mongoose.connect(mongoServer.getUri())
await clientController.createClient({ clientId, clientSecret })
await populateClients()
})
afterAll(async () => {