From 9ae3e5ce88390a79f3c4a3baae432963a86fdb35 Mon Sep 17 00:00:00 2001 From: Oleksii Kurinnyi Date: Thu, 7 Nov 2024 12:53:28 +0200 Subject: [PATCH] fixup! chore: upgrade react and react-redux packages --- packages/dashboard-backend/jest.config.js | 8 ++++---- packages/dashboard-frontend/jest.config.js | 8 ++++---- .../src/services/bootstrap/__tests__/index.spec.tsx | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/dashboard-backend/jest.config.js b/packages/dashboard-backend/jest.config.js index 2f9637c49..c5bbd513f 100644 --- a/packages/dashboard-backend/jest.config.js +++ b/packages/dashboard-backend/jest.config.js @@ -41,10 +41,10 @@ module.exports = { setupFilesAfterEnv: ['./jest.setup.js'], coverageThreshold: { global: { - statements: 81, - branches: 78, - functions: 78, - lines: 81, + statements: 86, + branches: 80, + functions: 86, + lines: 86, }, }, }; diff --git a/packages/dashboard-frontend/jest.config.js b/packages/dashboard-frontend/jest.config.js index f9b759426..a7081f259 100644 --- a/packages/dashboard-frontend/jest.config.js +++ b/packages/dashboard-frontend/jest.config.js @@ -50,10 +50,10 @@ module.exports = { ], coverageThreshold: { global: { - statements: 90, - branches: 86, - functions: 85, - lines: 90, + statements: 92, + branches: 88, + functions: 87, + lines: 92, }, }, }; diff --git a/packages/dashboard-frontend/src/services/bootstrap/__tests__/index.spec.tsx b/packages/dashboard-frontend/src/services/bootstrap/__tests__/index.spec.tsx index 8912b6f03..0cfcf214b 100644 --- a/packages/dashboard-frontend/src/services/bootstrap/__tests__/index.spec.tsx +++ b/packages/dashboard-frontend/src/services/bootstrap/__tests__/index.spec.tsx @@ -67,8 +67,8 @@ jest .mockImplementation(() => jest.fn()); jest.spyOn(devfileRegistriesActionCreators, 'requestDevfile').mockImplementation(() => jest.fn()); jest.spyOn(workspacesActionCreators, 'requestWorkspaces').mockImplementation(() => jest.fn()); -jest.mock('@/store/Workspaces/DevWorkspaces', () => ({ - ...jest.requireActual('@/store/Workspaces/DevWorkspaces'), +jest.mock('@/store/Workspaces/devWorkspaces', () => ({ + ...jest.requireActual('@/store/Workspaces/devWorkspaces'), selectDevWorkspacesResourceVersion: jest.fn(), })); jest.mock('@/store/Events', () => ({