Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtibbles committed Aug 20, 2024
1 parent c6e4213 commit cf8d7b2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const GETTERS = {
canManage: jest.fn(() => true),
},
contentNode: {
getContentNodeChildren: () => jest.fn(() => []),
getContentNodeChildren: () => jest.fn(() => ({ results: [], more: null })),
getContentNodeAncestors: () => jest.fn(() => []),
getContentNode: () => jest.fn(() => ({})),
getTopicAndResourceCounts: () => jest.fn(() => ({ topicCount: 0, resourceCount: 0 })),
Expand All @@ -35,7 +35,7 @@ const ACTIONS = {
loadContentNode: jest.fn(),
headContentNode: () => jest.fn(),
loadContentNodes: jest.fn(),
loadChildren: jest.fn(),
loadChildren: jest.fn(() => ({ results: [], more: null })),
},
};

Expand Down

0 comments on commit cf8d7b2

Please sign in to comment.