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

!1821 fix ActsGetWantAllTest run failed.

Merge pull request !1821 from zhongjianfei/zz0208
...@@ -20,7 +20,7 @@ import {Core, ExpectExtend} from 'deccjsunit/index' ...@@ -20,7 +20,7 @@ import {Core, ExpectExtend} from 'deccjsunit/index'
const injectRef = Object.getPrototypeOf(global) || global const injectRef = Object.getPrototypeOf(global) || global
injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
var once = true
export default { export default {
data: { data: {
title: "" title: ""
...@@ -29,6 +29,8 @@ export default { ...@@ -29,6 +29,8 @@ export default {
this.title = this.$t('strings.world'); this.title = this.$t('strings.world');
}, },
onShow() { onShow() {
if (once) {
once = false
console.info('onShow finish') console.info('onShow finish')
const core = Core.getInstance() const core = Core.getInstance()
const expectExtend = new ExpectExtend({ const expectExtend = new ExpectExtend({
...@@ -42,6 +44,7 @@ export default { ...@@ -42,6 +44,7 @@ export default {
require('../../../test/List.test') require('../../../test/List.test')
core.execute() core.execute()
}
}, },
onReady() { onReady() {
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册