From c499a6cb9e6382a860260282a814c8fcd0d40aec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Tue, 9 Feb 2021 14:02:39 +0100 Subject: [PATCH] fix: typo in test --- frontend/src/store/addons/__tests__/addons-actions.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/store/addons/__tests__/addons-actions.test.js b/frontend/src/store/addons/__tests__/addons-actions.test.js index 024e241f7c..bfea9ce49a 100644 --- a/frontend/src/store/addons/__tests__/addons-actions.test.js +++ b/frontend/src/store/addons/__tests__/addons-actions.test.js @@ -4,7 +4,7 @@ import fetchMock from 'fetch-mock'; import { RECEIVE_ADDON_CONFIG, - ERRPR_RECEIVE_ADDON_CONFIG, + ERROR_RECEIVE_ADDON_CONFIG, REMOVE_ADDON_CONFIG, UPDATE_ADDON_CONFIG, ADD_ADDON_CONFIG, @@ -47,7 +47,7 @@ test('creates RECEIVE_ADDON_CONFIG_ when fetching addons has been done', () => { return store.dispatch(fetchAddons()).catch(e => { // return of async actions - expect(store.getActions()[0].error.type).toEqual(ERRPR_RECEIVE_ADDON_CONFIG); + expect(store.getActions()[0].type).toEqual(ERROR_RECEIVE_ADDON_CONFIG); expect(e.message).toEqual('Unexpected exception when talking to unleash-api'); }); });