From 0ea5b4ecbf9493c56838c73b8af268d90da2cdea Mon Sep 17 00:00:00 2001 From: IsaccoSordo Date: Tue, 4 Feb 2025 11:08:10 +0100 Subject: [PATCH] fix: add explanation for SDK_VERSION --- .../beacon-ui/src/components/bug-report-form/index.test.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/beacon-ui/src/components/bug-report-form/index.test.tsx b/packages/beacon-ui/src/components/bug-report-form/index.test.tsx index 35c6eeab5..76cba5823 100644 --- a/packages/beacon-ui/src/components/bug-report-form/index.test.tsx +++ b/packages/beacon-ui/src/components/bug-report-form/index.test.tsx @@ -11,7 +11,9 @@ jest.mock('@airgap/beacon-core', () => { Logger: jest.fn().mockImplementation(() => ({ error: jest.fn(), })), - SDK_VERSION: '1.0.0' + // we cannot refer to the actual `SDK_VERSION` because + // `jest.mock()` is not allowed to reference any out-of-scope variables. + SDK_VERSION: '4.5.0' } })