提交 6416ab6e 编写于 作者: O openharmony_ci 提交者: Gitee

!542 命令编译js hap执行问题规避

Merge pull request !542 from 舒雄/master
......@@ -14,6 +14,9 @@
*/
import {Core, ExpectExtend} from 'deccjsunit/index'
const injectRef = Object.getPrototypeOf(global) || global
injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
export default {
data: {
title: ""
......
......@@ -16,6 +16,9 @@ import file from '@system.file'
import {Core, ExpectExtend} from 'deccjsunit/index'
const injectRef = Object.getPrototypeOf(global) || global
injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
export default {
data: {
title: ""
......@@ -26,7 +29,9 @@ export default {
onShow() {
console.info('onShow finish')
const core = Core.getInstance()
const expectExtend = new ExpectExtend({
'id': 'extend'
})
core.addService('expect', expectExtend)
core.init()
const configService = core.getDefaultService('config')
......
......@@ -14,6 +14,9 @@
*/
import {Core} from 'deccjsunit/index'
const injectRef = Object.getPrototypeOf(global) || global
injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
export default {
data: {
title: ""
......
......@@ -25,7 +25,9 @@ export default {
onShow() {
console.info('onShow finish')
const core = Core.getInstance()
const expectExtend = new ExpectExtend({
'id': 'extend'
})
core.addService('expect', expectExtend)
core.init()
......
......@@ -15,6 +15,9 @@
import {Core, ExpectExtend} from 'deccjsunit/index'
const injectRef = Object.getPrototypeOf(global) || global
injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
export default {
data: {
title: ""
......@@ -25,6 +28,9 @@ export default {
onShow() {
console.info('onShow finish')
const core = Core.getInstance()
const expectExtend = new ExpectExtend({
'id': 'extend'
})
core.addService('expect', expectExtend)
core.init()
......
......@@ -16,6 +16,9 @@
import app from '@system.app'
import {Core, ExpectExtend} from 'deccjsunit/index'
const injectRef = Object.getPrototypeOf(global) || global
injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
export default {
data: {
title: ""
......
......@@ -16,6 +16,9 @@
import app from '@system.app'
import {Core, ExpectExtend} from 'deccjsunit/index'
const injectRef = Object.getPrototypeOf(global) || global
injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
export default {
data: {
title: ""
......
......@@ -16,6 +16,9 @@
import app from '@system.app'
import {Core, ExpectExtend} from 'deccjsunit/index'
const injectRef = Object.getPrototypeOf(global) || global
injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
export default {
data: {
title: ""
......
......@@ -14,6 +14,10 @@
*/
import {Core} from 'deccjsunit/lite'
const injectRef = Object.getPrototypeOf(global) || global
injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
const core = Core.getInstance()
core.init()
require('../../test/List.test.js')
......
......@@ -16,6 +16,10 @@
import app from '@system.app'
import {Core} from 'deccjsunit/index'
const injectRef = Object.getPrototypeOf(global) || global
injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
export default {
data: {
title: ''
......
......@@ -16,6 +16,10 @@
import app from '@system.app'
import {Core} from 'deccjsunit/index'
const injectRef = Object.getPrototypeOf(global) || global
injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
export default {
data: {
title: ''
......
......@@ -16,6 +16,10 @@
import app from '@system.app'
import {Core} from 'deccjsunit/index'
const injectRef = Object.getPrototypeOf(global) || global
injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
export default {
data: {
title: ''
......
......@@ -16,6 +16,10 @@
import app from '@system.app'
import {Core} from 'deccjsunit/index'
const injectRef = Object.getPrototypeOf(global) || global
injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
export default {
data: {
title: ''
......
......@@ -15,6 +15,10 @@
import app from '@system.app'
import {Core} from 'deccjsunit/index'
const injectRef = Object.getPrototypeOf(global) || global
injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
export default {
data: {
title: ''
......
......@@ -28,7 +28,7 @@ _all_test_packages = [
"${ACTS_ROOT}/location:location",
# "${ACTS_ROOT}/miscservices:miscservices",
# "${ACTS_ROOT}/powermgr:powermgr",
# "${ACTS_ROOT}/startup:startup",
"${ACTS_ROOT}/startup:startup",
"${ACTS_ROOT}/sensors:sensors",
"${ACTS_ROOT}/distributeddatamgr:distributeddatamgr",
# "${ACTS_ROOT}/resourceschedule:resourceschedule",
......@@ -39,7 +39,7 @@ _all_test_packages = [
"${ACTS_ROOT}/updater:update",
"${ACTS_ROOT}/graphic:graphic",
"${ACTS_ROOT}/ace:ace",
# "${ACTS_ROOT}/storage:storage",
"${ACTS_ROOT}/storage:storage",
]
_all_test_packages_ivi = [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册