From 46408700b4f472d697e2e406b08b30b3f659415f Mon Sep 17 00:00:00 2001 From: hk_js Date: Tue, 31 May 2022 17:05:07 +0800 Subject: [PATCH] fix the default value Signed-off-by: hk_js --- .../windowstandard/src/main/js/default/test/window.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphic/windowstandard/src/main/js/default/test/window.test.js b/graphic/windowstandard/src/main/js/default/test/window.test.js index 4559fe250..51eeb0f1e 100755 --- a/graphic/windowstandard/src/main/js/default/test/window.test.js +++ b/graphic/windowstandard/src/main/js/default/test/window.test.js @@ -106,7 +106,7 @@ describe('window_test', function () { expect(!data.isKeepScreenOn).assertTrue(); expect(!data.isTransparent).assertTrue(); expect(data.brightness != null).assertTrue(); - expect(data.dimBehindValue).assertEqual(undefined); + expect(data.dimBehindValue).assertEqual(0); expect(!data.isRoundCorner).assertTrue(); expect(!data.isPrivacyMode).assertTrue(); done(); @@ -150,7 +150,7 @@ describe('window_test', function () { expect(!data.isKeepScreenOn).assertTrue(); expect(!data.isTransparent).assertTrue(); expect(data.brightness != null).assertTrue(); - expect(data.dimBehindValue).assertEqual(undefined); + expect(data.dimBehindValue).assertEqual(0); expect(!data.isRoundCorner).assertTrue(); expect(!data.isPrivacyMode).assertTrue(); done(); -- GitLab