Skip to content

Commit

Permalink
Update loadChildren mock in trash model tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtibbles committed Nov 14, 2024
1 parent 41615c1 commit 928d5b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function makeWrapper(items) {
methods: {
loadContentNodes: jest.fn(),
loadAncestors: jest.fn(),
loadChildren: jest.fn(() => Promise.resolve()),
loadChildren: jest.fn(() => Promise.resolve({ more: null, results: [] })),
},
stubs: {
ResourceDrawer: true,
Expand Down

0 comments on commit 928d5b8

Please sign in to comment.