From ea8643875c7bc3e77f5bce903b27a927ae612057 Mon Sep 17 00:00:00 2001 From: alexeh Date: Fri, 25 Oct 2024 07:33:19 +0200 Subject: [PATCH] increase timeout for import test --- api/src/modules/auth/authentication.service.ts | 2 +- api/test/integration/import/import.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/modules/auth/authentication.service.ts b/api/src/modules/auth/authentication.service.ts index ac38723b..2706c11e 100644 --- a/api/src/modules/auth/authentication.service.ts +++ b/api/src/modules/auth/authentication.service.ts @@ -11,7 +11,7 @@ import { CommandBus, EventBus } from '@nestjs/cqrs'; import { UserWithAccessToken } from '@shared/dtos/users/user.dto'; import { TOKEN_TYPE_ENUM } from '@shared/schemas/auth/token-type.schema'; import { CreateUserDto } from '@shared/dtos/users/create-user.dto'; -import { randomBytes } from 'node:crypto'; +import { randomBytes } from 'crypto'; import { SendWelcomeEmailCommand } from '@api/modules/notifications/email/commands/send-welcome-email.command'; import { JwtManager } from '@api/modules/auth/services/jwt.manager'; import { SignUpDto } from '@shared/schemas/auth/sign-up.schema'; diff --git a/api/test/integration/import/import.spec.ts b/api/test/integration/import/import.spec.ts index c1df3923..938da050 100644 --- a/api/test/integration/import/import.spec.ts +++ b/api/test/integration/import/import.spec.ts @@ -79,6 +79,6 @@ describe('Import Tests', () => { .find(); expect(baseData).toHaveLength(200); - }); + }, 30000); }); });