Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fredex42 committed Nov 19, 2024
1 parent 494c4fd commit b5af406
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
27 changes: 27 additions & 0 deletions fronts-client/src/actions/__tests__/fixtures/Editions.fixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,15 @@ export const initialState = {
loadingIds: [],
updatingIds: [],
},
feastKeywords: {
data: {},
pagination: null,
lastError: null,
error: null,
lastSuccessfulFetchTimestamp: null,
loadingIds: [],
updatingIds: [],
},
};

export const finalStateWhenAddNewCollection = {
Expand Down Expand Up @@ -1530,6 +1539,15 @@ export const finalStateWhenAddNewCollection = {
loadingIds: [],
updatingIds: [],
},
feastKeywords: {
data: {},
pagination: null,
lastError: null,
error: null,
lastSuccessfulFetchTimestamp: null,
loadingIds: [],
updatingIds: [],
},
};

export const finalStateWhenRemoveACollection = {
Expand Down Expand Up @@ -2263,4 +2281,13 @@ export const finalStateWhenRemoveACollection = {
loadingIds: [],
updatingIds: [],
},
feastKeywords: {
data: {},
pagination: null,
lastError: null,
error: null,
lastSuccessfulFetchTimestamp: null,
loadingIds: [],
updatingIds: [],
},
};
1 change: 1 addition & 0 deletions fronts-client/src/fixtures/initialState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,7 @@ const state = {
},
notifications: { banners: [] },
chefs: emptyFeedBundle,
feastKeywords: emptyFeedBundle,
} as State;

export { state };

0 comments on commit b5af406

Please sign in to comment.