未验证 提交 95956acb 编写于 作者: O openharmony_ci 提交者: Gitee

!5155 修改ActsAceComponentTest的jscrash

Merge pull request !5155 from 张馨月/monthly_20220816
......@@ -32,13 +32,13 @@ struct VisibilityExample {
eventId: 48,
priority: events_emitter.EventPriority.LOW
}
events_emitter.on(noneChangeEvent, this.hiddenChangCallBack)
events_emitter.on(noneChangeEvent, this.noneChangCallBack)
var stateChangeEvent2 = {
eventId: 1116,
priority: events_emitter.EventPriority.LOW
}
events_emitter.on(stateChangeEvent2, this.stateChangCallBack);
events_emitter.on(stateChangeEvent2, this.hiddenChangCallBack);
}
private hiddenChangCallBack = (eventData) => {
......
......@@ -450,7 +450,7 @@ export default function swiperJsunit() {
try {
let eventData = {
data: {
"duration": "nan"
"duration": "0"
}
}
let indexEvent = {
......@@ -466,7 +466,7 @@ export default function swiperJsunit() {
let strJsonNew = getInspectorByKey('swiper');
let objNew = JSON.parse(strJsonNew);
console.info("swiperTest_1900 component objNew is: " + JSON.stringify(objNew));
expect(objNew.$attrs.duration).assertEqual('nan');
expect(objNew.$attrs.duration).assertEqual('0.000000');
console.info('swiperTest_1900 END');
done();
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册