From 8261b106c87d61cdbc874bd9827bf94fc2b80953 Mon Sep 17 00:00:00 2001 From: zhangxinyue Date: Tue, 23 Aug 2022 18:03:37 +0800 Subject: [PATCH] bug fix Signed-off-by: zhangxinyue --- .../src/main/ets/MainAbility/test/ImageEffectsJsunit.test.ets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/test/ImageEffectsJsunit.test.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/test/ImageEffectsJsunit.test.ets index a623fc8f8..2dfdfc92e 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/test/ImageEffectsJsunit.test.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/test/ImageEffectsJsunit.test.ets @@ -504,7 +504,7 @@ export default function imageEffectsJsunit() { try { var eventData = { data: { - "saturateValue": 'error' + "saturateValue": '0' } } var innerEvent = { @@ -520,7 +520,7 @@ export default function imageEffectsJsunit() { let strJsonNew = getInspectorByKey('centerRow6'); let objNew = JSON.parse(strJsonNew); console.info("[testImageEffects020] component objNew is: " + JSON.stringify(objNew)); - expect(objNew.$attrs.saturate).assertEqual(0.0000019999999949504854); + expect(objNew.$attrs.saturate).assertEqual(0); done(); }); -- GitLab