diff --git a/tests/slide/common/common.js b/tests/slide/common/common.js index 4ac37234eb..0c3f76e4ab 100644 --- a/tests/slide/common/common.js +++ b/tests/slide/common/common.js @@ -61,6 +61,9 @@ const AscTest = window.AscTest || {}; TurnOff : function(){}, TurnOn : function(){}, init : function () {}, + IsOn : function() { + return true; + } }; AscCommon.g_oIdCounter.m_bLoad = false; diff --git a/tests/word/common/common.js b/tests/word/common/common.js index c536e98847..9a999bcf93 100644 --- a/tests/word/common/common.js +++ b/tests/word/common/common.js @@ -71,7 +71,11 @@ var AscTest = AscTest || {}; return this.Get_ById(id); }, TurnOff : function(){}, - TurnOn : function(){} + TurnOn : function(){}, + IsOn : function() + { + return true + } }; AscCommon.g_oIdCounter.m_bLoad = false;