diff --git a/graphic/windowStage/entry/src/main/ets/test/windowCallback.test.ets b/graphic/windowStage/entry/src/main/ets/test/windowCallback.test.ets index 9abbc12c0a24393ddedd8e7daaf25a2079f199e9..d042b76b1f82bb8b8d90cfda545c257169e33908 100644 --- a/graphic/windowStage/entry/src/main/ets/test/windowCallback.test.ets +++ b/graphic/windowStage/entry/src/main/ets/test/windowCallback.test.ets @@ -1477,10 +1477,10 @@ export default function windowCallbackTest(context, windowStage, abilityStorage) done(); }) /** -* @tc.number SUB_WINDOW_SNAPSHOT_JSAPI_002 -* @tc.name Test snapshotTest2 -* @tc.desc Scenario of screenshot of verification window -*/ + * @tc.number SUB_WINDOW_SNAPSHOT_JSAPI_002 + * @tc.name Test snapshotTest2 + * @tc.desc Scenario of screenshot of verification window + */ it('snapshotTest2', 0, async function (done) { let caseName = 'snapshotTest2'; let msgStr = 'jsunittest ' + caseName + ' '; @@ -1558,12 +1558,12 @@ export default function windowCallbackTest(context, windowStage, abilityStorage) controller.animationForShown = (context: ohosWindow.TransitionContext) => { let toWindow = context.toWindow animateTo({ - duration: 1000, // 动画时长 - tempo: 0.5, // 播放速率 - curve: Curve.EaseInOut, // 动画曲线 - delay: 0, // 动画延迟 - iterations: 1, // 播放次数 - playMode: PlayMode.Normal, // 动画模式 + duration: 1000, + tempo: 0.5, + curve: Curve.EaseInOut, + delay: 0, + iterations: 1, + playMode: PlayMode.Normal, }, () => { var obj: ohosWindow.TranslateOptions; obj.x = 100.0;