From 15157ed2595f79ae2891d815738deeeceecffc41 Mon Sep 17 00:00:00 2001
From: clauspeterhuebner
Date: Wed, 27 Aug 2025 16:04:27 +0200
Subject: [PATCH] correct jest.mock TRANSACTION_LOCK after Darios info
---
backend/src/graphql/resolver/TransactionLinkResolver.test.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/src/graphql/resolver/TransactionLinkResolver.test.ts b/backend/src/graphql/resolver/TransactionLinkResolver.test.ts
index 6997c0e93..d7c2fc713 100644
--- a/backend/src/graphql/resolver/TransactionLinkResolver.test.ts
+++ b/backend/src/graphql/resolver/TransactionLinkResolver.test.ts
@@ -43,7 +43,7 @@ const logErrorLogger = getLogger(`${LOG4JS_BASE_CATEGORY_NAME}.server.LogError`)
jest.mock('@/password/EncryptorUtils')
// mock semaphore to allow use fake timers
-jest.mock('database/util/TRANSACTIONS_LOCK')
+jest.mock('database/src/util/TRANSACTIONS_LOCK')
TRANSACTIONS_LOCK.acquire = jest.fn().mockResolvedValue(jest.fn())
let mutate: ApolloServerTestClient['mutate']