From b5af40680880f90702f76ccbd680b3d60a8c5da2 Mon Sep 17 00:00:00 2001 From: Andy Gallagher Date: Tue, 19 Nov 2024 17:41:47 +0000 Subject: [PATCH] fix tests --- .../__tests__/fixtures/Editions.fixture.ts | 27 +++++++++++++++++++ fronts-client/src/fixtures/initialState.ts | 1 + 2 files changed, 28 insertions(+) diff --git a/fronts-client/src/actions/__tests__/fixtures/Editions.fixture.ts b/fronts-client/src/actions/__tests__/fixtures/Editions.fixture.ts index ead1fa8d64e..211e286ce16 100644 --- a/fronts-client/src/actions/__tests__/fixtures/Editions.fixture.ts +++ b/fronts-client/src/actions/__tests__/fixtures/Editions.fixture.ts @@ -764,6 +764,15 @@ export const initialState = { loadingIds: [], updatingIds: [], }, + feastKeywords: { + data: {}, + pagination: null, + lastError: null, + error: null, + lastSuccessfulFetchTimestamp: null, + loadingIds: [], + updatingIds: [], + }, }; export const finalStateWhenAddNewCollection = { @@ -1530,6 +1539,15 @@ export const finalStateWhenAddNewCollection = { loadingIds: [], updatingIds: [], }, + feastKeywords: { + data: {}, + pagination: null, + lastError: null, + error: null, + lastSuccessfulFetchTimestamp: null, + loadingIds: [], + updatingIds: [], + }, }; export const finalStateWhenRemoveACollection = { @@ -2263,4 +2281,13 @@ export const finalStateWhenRemoveACollection = { loadingIds: [], updatingIds: [], }, + feastKeywords: { + data: {}, + pagination: null, + lastError: null, + error: null, + lastSuccessfulFetchTimestamp: null, + loadingIds: [], + updatingIds: [], + }, }; diff --git a/fronts-client/src/fixtures/initialState.ts b/fronts-client/src/fixtures/initialState.ts index 575eb548415..d56170b79eb 100644 --- a/fronts-client/src/fixtures/initialState.ts +++ b/fronts-client/src/fixtures/initialState.ts @@ -708,6 +708,7 @@ const state = { }, notifications: { banners: [] }, chefs: emptyFeedBundle, + feastKeywords: emptyFeedBundle, } as State; export { state };