From 855f00045fe63def26c6f9088795e99e3b5527ad Mon Sep 17 00:00:00 2001 From: jianghuanhuan Date: Wed, 14 Jun 2023 10:00:59 +0800 Subject: [PATCH] =?UTF-8?q?observer=E7=94=A8=E4=BE=8B=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jianghuanhuan --- .../observer/entry/src/main/ets/test/ObserverJsunit.test.ets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telephony/telephonyjstest/observer/entry/src/main/ets/test/ObserverJsunit.test.ets b/telephony/telephonyjstest/observer/entry/src/main/ets/test/ObserverJsunit.test.ets index 0c441faa3..c59044972 100644 --- a/telephony/telephonyjstest/observer/entry/src/main/ets/test/ObserverJsunit.test.ets +++ b/telephony/telephonyjstest/observer/entry/src/main/ets/test/ObserverJsunit.test.ets @@ -321,8 +321,8 @@ export default function ObserverJsunit() { it('Telephony_observer_observer_off_simStateChange_0100', 0, async function (done) { console.log("************* Telephony_observer_observer_off_simStateChange_0100 Test start *************"); try { - let callback = data => { - console.log("on simStateChange, data:" + JSON.stringify(data)); + let callback = SimStateData => { + console.log("on simStateChange, data:" + JSON.stringify(SimStateData)); expect(typeof SimStateData.reason === undefined).assertFalse(); expect(typeof SimStateData.state === undefined).assertFalse(); expect(typeof SimStateData.type === undefined).assertFalse(); -- GitLab