From 4aaf0696898ff25dba1773e6845bab549f592791 Mon Sep 17 00:00:00 2001 From: ivanblinov2k17 Date: Mon, 14 Oct 2024 14:51:41 +0400 Subject: [PATCH] Core: fix transitionExecutor + datebox knockout tests --- .../js/animation/transition_executor/transition_executor.js | 4 ++-- .../tests/DevExpress.animation/transitionExecutors.tests.js | 4 ++-- .../testing/tests/DevExpress.knockout/datebox.tests.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/devextreme/js/animation/transition_executor/transition_executor.js b/packages/devextreme/js/animation/transition_executor/transition_executor.js index 894973a78caa..c52563030251 100644 --- a/packages/devextreme/js/animation/transition_executor/transition_executor.js +++ b/packages/devextreme/js/animation/transition_executor/transition_executor.js @@ -1,7 +1,7 @@ import $ from '../../core/renderer'; import Class from '../../core/class'; import { extend } from '../../core/utils/extend'; -import { executeAsync } from '../../core/utils/common'; +import commonUtils from '../../__internal/core/utils/m_common'; import { isFunction, isPlainObject } from '../../core/utils/type'; import { map } from '../../core/utils/iterator'; import fx from '../fx'; @@ -164,7 +164,7 @@ export const TransitionExecutor = Class.inherit({ that.reset(); }); - executeAsync(function() { + commonUtils.executeAsync(function() { that._startAnimations(); }); } diff --git a/packages/devextreme/testing/tests/DevExpress.animation/transitionExecutors.tests.js b/packages/devextreme/testing/tests/DevExpress.animation/transitionExecutors.tests.js index d329ce3903a5..bfe41d92d605 100644 --- a/packages/devextreme/testing/tests/DevExpress.animation/transitionExecutors.tests.js +++ b/packages/devextreme/testing/tests/DevExpress.animation/transitionExecutors.tests.js @@ -1,6 +1,6 @@ import $ from 'jquery'; -import { noop } from 'core/utils/common'; -import devices from 'core/devices'; +import { noop } from '__internal/core/utils/m_common'; +import devices from '__internal/core/m_devices'; import fx from 'animation/fx'; import executeAsyncMock from '../../helpers/executeAsyncMock.js'; import { presets as animationPresets } from 'animation/presets/presets'; diff --git a/packages/devextreme/testing/tests/DevExpress.knockout/datebox.tests.js b/packages/devextreme/testing/tests/DevExpress.knockout/datebox.tests.js index 2b4fadee0c59..60958b8108a9 100644 --- a/packages/devextreme/testing/tests/DevExpress.knockout/datebox.tests.js +++ b/packages/devextreme/testing/tests/DevExpress.knockout/datebox.tests.js @@ -2,7 +2,7 @@ import '../../helpers/noIntl.js'; import $ from 'jquery'; import fx from 'animation/fx'; -import support from 'core/utils/support'; +import support from '__internal/core/utils/m_support'; import devices from 'core/devices'; import uiDateUtils from '__internal/ui/date_box/m_date_utils'; import dateLocalization from 'localization/date';