From 856ce026601705bef42f2cdc658b0f4ab8a7ed30 Mon Sep 17 00:00:00 2001 From: sokolova-an Date: Fri, 5 Apr 2024 16:00:23 +0200 Subject: [PATCH] fix: test --- .../model/__tests__/networks-overview-model.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/renderer/pages/Settings/Networks/model/__tests__/networks-overview-model.test.ts b/src/renderer/pages/Settings/Networks/model/__tests__/networks-overview-model.test.ts index 63cb590ba8..903f515a60 100644 --- a/src/renderer/pages/Settings/Networks/model/__tests__/networks-overview-model.test.ts +++ b/src/renderer/pages/Settings/Networks/model/__tests__/networks-overview-model.test.ts @@ -45,9 +45,9 @@ describe('pages/Settings/Networks/model/networks-overview-model', () => { await allSettled(activeNetworksModel.events.networksChanged, { scope, params: chains }); - const enabledNodeListMap = scope.getState(networksOverviewModel.$enabledNodeListMap); + const activeConnectionsMap = scope.getState(networksOverviewModel.$activeConnectionsMap); - expect(enabledNodeListMap).toEqual(expected); + expect(activeConnectionsMap).toEqual(expected); }); test('should correctly map disabled networks to their connection lists', async () => { @@ -64,8 +64,8 @@ describe('pages/Settings/Networks/model/networks-overview-model', () => { await allSettled(inactiveNetworksModel.events.networksChanged, { scope, params: chains }); - const disabledNodeListMap = scope.getState(networksOverviewModel.$disabledNodeListMap); + const inactiveConnectionsMap = scope.getState(networksOverviewModel.$inactiveConnectionsMap); - expect(disabledNodeListMap).toEqual(expected); + expect(inactiveConnectionsMap).toEqual(expected); }); });