diff --git a/ability/ability_runtime/abilitystagemonitor/abilitystagemonitortest/entry/src/main/ets/test/AbilityStageMonitor.test.ets b/ability/ability_runtime/abilitystagemonitor/abilitystagemonitortest/entry/src/main/ets/test/AbilityStageMonitor.test.ets index f05e1e7e5b7c7becd4d1da9ba92226c75b27332a..5f04d0fe4ca2d5cc38126da543a178d499f21712 100644 --- a/ability/ability_runtime/abilitystagemonitor/abilitystagemonitortest/entry/src/main/ets/test/AbilityStageMonitor.test.ets +++ b/ability/ability_runtime/abilitystagemonitor/abilitystagemonitortest/entry/src/main/ets/test/AbilityStageMonitor.test.ets @@ -196,7 +196,7 @@ export default function abilityStageMonitorTest() { console.info("SUB_AA_AbilityStageMonitor_0400 wait abilityStage"); - await abilityDelegator.waitAbilityStageMonitor(monitor, timeout).then((abilityStage) => { + abilityDelegator.waitAbilityStageMonitor(monitor, timeout).then((abilityStage) => { moduleName1 = abilityStage.context.currentHapModuleInfo.name; console.info("stageMonitor waitAbilityStageMonitor callback, abilityStage: " + JSON.stringify(abilityStage));