diff --git a/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js b/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js index 9e0b210b9c5d95e7a03e764a05c3bb5e02313b95..b2a6034674e9ec2a85c5b8dcf369060d38c126eb 100644 --- a/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js @@ -75,6 +75,16 @@ var subscriberInfo_ACTS_GetCallingBundle_0100 = { describe('ActsFeatureAbilityTest', function () { + function sleep(delay) { + var start = (new Date()).getTime(); + while ((new Date()).getTime() - start < delay) { + continue; + } + } + beforeEach(() => { + sleep(1000); + }) + /** * @tc.number: ACTS_wantConstant_0100 * @tc.name: wantConstant : Check specific enum