From 7a4bfafcfdff133d48bf1ff3809a7ccededc2e44 Mon Sep 17 00:00:00 2001 From: Marius Date: Mon, 6 Apr 2026 09:17:46 +0300 Subject: [PATCH 1/2] HOTFIX - Build block --- scripts/tsconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tsconfig.json b/scripts/tsconfig.json index 05bb5c1d00..dec1cef839 100644 --- a/scripts/tsconfig.json +++ b/scripts/tsconfig.json @@ -1,8 +1,8 @@ { "compilerOptions": { - "target": "ES2020", + "target": "ES2021", "module": "commonjs", - "lib": ["ES2020"], + "lib": ["ES2021"], "outDir": "./dist", "rootDir": ".", "strict": true, From df6e2d29fcdc8a03826b4ba1bcf8667fe899ecf5 Mon Sep 17 00:00:00 2001 From: Marius Date: Mon, 6 Apr 2026 10:02:07 +0300 Subject: [PATCH 2/2] Test fix --- src/test/pages/Groups.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/pages/Groups.test.tsx b/src/test/pages/Groups.test.tsx index 94dca27328..72481363de 100644 --- a/src/test/pages/Groups.test.tsx +++ b/src/test/pages/Groups.test.tsx @@ -190,7 +190,7 @@ describe("Groups", () => { window.confirm = jest.fn(() => true); await act(() => userEvent.click(deleteButton)); expect(window.confirm).toHaveBeenCalledTimes(1); - expect(correctDeleteRequests).toEqual(1); + await waitFor(() => expect(correctDeleteRequests).toEqual(1)); await waitFor(() => { const newGroupNames = screen