From f0e26d878fc06848566960ca0218520924895282 Mon Sep 17 00:00:00 2001 From: Nikki Gonzales <38495263+nikkithelegendarypokemonster@users.noreply.github.com> Date: Thu, 18 Jul 2024 17:57:35 +0800 Subject: [PATCH] add checker to ensure only one assertion is made --- .../testing/tests/DevExpress.ui.widgets/splitter.tests.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/devextreme/testing/tests/DevExpress.ui.widgets/splitter.tests.js b/packages/devextreme/testing/tests/DevExpress.ui.widgets/splitter.tests.js index a50affd34922..957699185852 100644 --- a/packages/devextreme/testing/tests/DevExpress.ui.widgets/splitter.tests.js +++ b/packages/devextreme/testing/tests/DevExpress.ui.widgets/splitter.tests.js @@ -2538,6 +2538,8 @@ QUnit.module('Visibility of control elements', { QUnit.module('Events', moduleConfig, () => { QUnit.test('items sizes should be already updated when onResizeEnd is raised (T1240125)', function(assert) { + assert.expect(1); + this.reinit({ onResizeEnd: (eventArgs) => { const newItems = eventArgs.component.option('items');