diff --git a/ability/ability_runtime/actsqueryfunctiontest/actsgetcurrenttopabilitystagebtest/entry/src/main/ets/test/Ability.test.ets b/ability/ability_runtime/actsqueryfunctiontest/actsgetcurrenttopabilitystagebtest/entry/src/main/ets/test/Ability.test.ets index 0e8ea307c62d0807737d5bd7c25628492eab2374..ac60c751255fe0bf4ebe5b4eb672d4ac0ed3664e 100644 --- a/ability/ability_runtime/actsqueryfunctiontest/actsgetcurrenttopabilitystagebtest/entry/src/main/ets/test/Ability.test.ets +++ b/ability/ability_runtime/actsqueryfunctiontest/actsgetcurrenttopabilitystagebtest/entry/src/main/ets/test/Ability.test.ets @@ -23,6 +23,17 @@ var subscriberInfo_MainAbility2 = { const START_ABILITY_TIMEOUT = 4000; export default function abilityTest() { describe('ActsParticleAbilityStageBTest', function () { + function sleep(ms) { + return new Promise(resolve => setTimeout(resolve, ms)); + } + + afterEach(async (done) => { + console.debug('= ACTS_afterEach ====