From bec087d8d60f18d363323583fd10f696ebb62410 Mon Sep 17 00:00:00 2001 From: KirillovIlya Date: Thu, 29 Aug 2024 17:05:56 +0300 Subject: [PATCH] [all] Fix tests --- tests/slide/common/common.js | 3 +++ tests/word/common/common.js | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) 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;