From dd07e61bb220d97a8f436e0ba675c07584400890 Mon Sep 17 00:00:00 2001 From: chenxuihui Date: Sat, 23 Jul 2022 10:00:13 +0800 Subject: [PATCH] add xts suite Signed-off-by: chenxuihui --- hiviewdfx/hilogjstest/src/main/js/default/app.js | 1 + hiviewdfx/hilogjstest/src/main/js/default/pages/index/index.js | 1 + hiviewdfx/hitracechainjstest/src/main/js/default/app.js | 1 + .../hitracechainjstest/src/main/js/default/pages/index/index.js | 1 + 4 files changed, 4 insertions(+) diff --git a/hiviewdfx/hilogjstest/src/main/js/default/app.js b/hiviewdfx/hilogjstest/src/main/js/default/app.js index 74d2dabe9..8fe0b77dc 100755 --- a/hiviewdfx/hilogjstest/src/main/js/default/app.js +++ b/hiviewdfx/hilogjstest/src/main/js/default/app.js @@ -12,6 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + export default { onCreate() { console.info('AceApplication onCreate'); diff --git a/hiviewdfx/hilogjstest/src/main/js/default/pages/index/index.js b/hiviewdfx/hilogjstest/src/main/js/default/pages/index/index.js index ff192fc34..ed3b8efc4 100755 --- a/hiviewdfx/hilogjstest/src/main/js/default/pages/index/index.js +++ b/hiviewdfx/hilogjstest/src/main/js/default/pages/index/index.js @@ -17,6 +17,7 @@ import device from '@system.device' import router from '@system.router' import {Core, ExpectExtend, Constant} from 'deccjsunit/index' + const injectRef = Object.getPrototypeOf(global) || global injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') diff --git a/hiviewdfx/hitracechainjstest/src/main/js/default/app.js b/hiviewdfx/hitracechainjstest/src/main/js/default/app.js index 74d2dabe9..8fe0b77dc 100755 --- a/hiviewdfx/hitracechainjstest/src/main/js/default/app.js +++ b/hiviewdfx/hitracechainjstest/src/main/js/default/app.js @@ -12,6 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + export default { onCreate() { console.info('AceApplication onCreate'); diff --git a/hiviewdfx/hitracechainjstest/src/main/js/default/pages/index/index.js b/hiviewdfx/hitracechainjstest/src/main/js/default/pages/index/index.js index ff192fc34..ed3b8efc4 100755 --- a/hiviewdfx/hitracechainjstest/src/main/js/default/pages/index/index.js +++ b/hiviewdfx/hitracechainjstest/src/main/js/default/pages/index/index.js @@ -17,6 +17,7 @@ import device from '@system.device' import router from '@system.router' import {Core, ExpectExtend, Constant} from 'deccjsunit/index' + const injectRef = Object.getPrototypeOf(global) || global injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') -- GitLab