From db48d66ca206a1d38ff85d9f48fb713f1607f097 Mon Sep 17 00:00:00 2001 From: gaoxi Date: Fri, 5 Aug 2022 11:52:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0=E9=9A=9C=E7=A2=8Drelease=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gaoxi --- .../entry/src/main/js/test/AccessibleAbilityList.test.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/barrierfree/accessibleabilitylist/entry/src/main/js/test/AccessibleAbilityList.test.js b/barrierfree/accessibleabilitylist/entry/src/main/js/test/AccessibleAbilityList.test.js index 0962f8d35..10afb2a4a 100644 --- a/barrierfree/accessibleabilitylist/entry/src/main/js/test/AccessibleAbilityList.test.js +++ b/barrierfree/accessibleabilitylist/entry/src/main/js/test/AccessibleAbilityList.test.js @@ -77,10 +77,14 @@ describe('AccessibleAbilityList', function () { item.capabilities == touchGuide || item.capabilities == keyEventObserver || item.capabilities == zoom || - item.capabilities == gesture) { + item.capabilities == gesture || + item.capabilities == undefined) { expect(true).assertTrue(); done(); - } + }else{ + expect(null).assertFail(); + done(); + } console.info(item.bundleName); expect(item.bundleName != undefined).assertEqual(true); done(); -- GitLab