From 794fc87b48e8bd579b1eab9b06822c3464acd4a7 Mon Sep 17 00:00:00 2001 From: Hjortur Johann Vignissson Date: Mon, 16 Sep 2024 12:17:41 +0000 Subject: [PATCH] fixing tests after upgrading packages --- .../notificationsWorker/notificationsWorker.service.spec.ts | 4 ---- libs/message-queue/src/lib/nest/client.service.ts | 1 - 2 files changed, 5 deletions(-) diff --git a/apps/services/user-notification/src/app/modules/notifications/notificationsWorker/notificationsWorker.service.spec.ts b/apps/services/user-notification/src/app/modules/notifications/notificationsWorker/notificationsWorker.service.spec.ts index 49f10d6ca335..b227820dbfbe 100644 --- a/apps/services/user-notification/src/app/modules/notifications/notificationsWorker/notificationsWorker.service.spec.ts +++ b/apps/services/user-notification/src/app/modules/notifications/notificationsWorker/notificationsWorker.service.spec.ts @@ -159,10 +159,6 @@ describe('NotificationsWorkerService', () => { ) }) - afterAll(async () => { - await app.close() - }) - afterEach(async () => { await truncate(sequelize) }) diff --git a/libs/message-queue/src/lib/nest/client.service.ts b/libs/message-queue/src/lib/nest/client.service.ts index caad76ba21d9..4c269d69520b 100644 --- a/libs/message-queue/src/lib/nest/client.service.ts +++ b/libs/message-queue/src/lib/nest/client.service.ts @@ -14,7 +14,6 @@ import { Message, QueueAttributeName, } from '@aws-sdk/client-sqs' -import { AbortController } from '@aws-sdk/abort-controller' import { type Logger } from '@island.is/logging' @Injectable()