From 140760b22f83222e831f5d4d6674367857fe8e7b Mon Sep 17 00:00:00 2001 From: Jean-Baptiste WATENBERG Date: Wed, 24 May 2023 23:37:04 +0200 Subject: [PATCH] Skip redux tests --- src/react/actions/__tests__/location.test.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/react/actions/__tests__/location.test.ts b/src/react/actions/__tests__/location.test.ts index 83d299d26..cf43356c2 100644 --- a/src/react/actions/__tests__/location.test.ts +++ b/src/react/actions/__tests__/location.test.ts @@ -12,13 +12,13 @@ import { } from './utils/testUtil'; import { MockManagementClientWithConfigurationVersions } from '../../../js/mock/managementClient'; const locationObj = LOCATION; -const saveLocationNetworkStart = dispatchAction.NETWORK_START_ACTION( - 'Deploying location', -); -const deleteLocationNetworkAction = dispatchAction.NETWORK_START_ACTION( - 'Deleting location', -); -describe('location actions', () => { +const saveLocationNetworkStart = + dispatchAction.NETWORK_START_ACTION('Deploying location'); +const deleteLocationNetworkAction = + dispatchAction.NETWORK_START_ACTION('Deleting location'); +//Skipping those tests as testing implementation details in redux doesn't make sense +//We need to be able to rey on test at component level +describe.skip('location actions', () => { const locationName = 'loc1'; const syncTests = [ { @@ -131,4 +131,4 @@ describe('location actions', () => { }, ]; asyncFullStoreTests.forEach(testDispatchFunctionWithFullStore); -}); \ No newline at end of file +});