From fd15f3fb413878d5822084a8e8d632c13dacd545 Mon Sep 17 00:00:00 2001 From: Saad Jutt Date: Sun, 24 Apr 2022 05:11:56 +0500 Subject: [PATCH] test: fix specs --- api/src/routes/api/spec/auth.spec.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/api/src/routes/api/spec/auth.spec.ts b/api/src/routes/api/spec/auth.spec.ts index 2377809..cf93f15 100644 --- a/api/src/routes/api/spec/auth.spec.ts +++ b/api/src/routes/api/spec/auth.spec.ts @@ -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 () => {