From 928d5b829ecbaa1c11a36db667cb59b35783b7f7 Mon Sep 17 00:00:00 2001 From: Richard Tibbles Date: Thu, 14 Nov 2024 15:01:08 -0800 Subject: [PATCH] Update loadChildren mock in trash model tests. --- .../channelEdit/views/trash/__tests__/trashModal.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contentcuration/contentcuration/frontend/channelEdit/views/trash/__tests__/trashModal.spec.js b/contentcuration/contentcuration/frontend/channelEdit/views/trash/__tests__/trashModal.spec.js index fd75caa234..4d4db70575 100644 --- a/contentcuration/contentcuration/frontend/channelEdit/views/trash/__tests__/trashModal.spec.js +++ b/contentcuration/contentcuration/frontend/channelEdit/views/trash/__tests__/trashModal.spec.js @@ -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,