From 071488f0e8824c2c9ff6743a90a7dd562125fc87 Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Tue, 26 Aug 2025 08:03:11 +0200 Subject: [PATCH] need full path for mocking part of submodule --- 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']