From 3dee0821410becb0e89209c376a3051cd5f5f925 Mon Sep 17 00:00:00 2001 From: Alex M <bogdanmarginean@ymail.com> Date: Sat, 3 Sep 2016 19:02:05 +0300 Subject: [PATCH] [Edit] Add reason for redundant mocks --- .../edit/test/actions/SaveAndStopEditingActionSpec.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/platform/commonUI/edit/test/actions/SaveAndStopEditingActionSpec.js b/platform/commonUI/edit/test/actions/SaveAndStopEditingActionSpec.js index cfed63c0d3..1fb8fa6492 100644 --- a/platform/commonUI/edit/test/actions/SaveAndStopEditingActionSpec.js +++ b/platform/commonUI/edit/test/actions/SaveAndStopEditingActionSpec.js @@ -26,6 +26,11 @@ define( describe("The Save and Stop Editing action", function () { + // Some mocks appear unused because the + // underlying SaveAction that this action + // depends on is not mocked, so we mock some + // of SaveAction's own dependencies to make + // it run. var mockDomainObject, mockEditorCapability, actionContext,