From cc31b58a64285fe37cb5972181a12d82f726a861 Mon Sep 17 00:00:00 2001 From: kirl75 Date: Tue, 25 Jul 2023 17:58:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4onBackPress2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: kirl75 --- .../entry/src/main/ets/test/StageAppContext.test.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ability/ability_runtime/context/actsstageappcontext/actsstageappcontexttest/entry/src/main/ets/test/StageAppContext.test.ets b/ability/ability_runtime/context/actsstageappcontext/actsstageappcontexttest/entry/src/main/ets/test/StageAppContext.test.ets index 92dac9245..8a16a8c43 100644 --- a/ability/ability_runtime/context/actsstageappcontext/actsstageappcontexttest/entry/src/main/ets/test/StageAppContext.test.ets +++ b/ability/ability_runtime/context/actsstageappcontext/actsstageappcontexttest/entry/src/main/ets/test/StageAppContext.test.ets @@ -255,7 +255,7 @@ export default function stageAppContextTest(abilityContext) { context.getProcessRunningInformation((err, data) => { console.log(TAG + " result = " + JSON.stringify(data)); expect(data[0].processName).assertEqual("com.example.stageappcontexttest"); - expect(typepf data[0].state).assertEqual("number"); + expect(typeof data[0].state).assertEqual("number"); }) done(); }); -- GitLab