From 2e2f54dd1e9ed9be37469752affd7180199c0ee9 Mon Sep 17 00:00:00 2001 From: "aisikaeraikebaier@kaihongdigi.com" Date: Wed, 2 Mar 2022 15:02:24 +0800 Subject: [PATCH] add test ccases Signed-off-by: aisikaeraikebaier@kaihongdigi.com --- .../src/main/js/default/test/commonComponentJsApi.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ace/ace_standard/src/main/js/default/test/commonComponentJsApi.test.js b/ace/ace_standard/src/main/js/default/test/commonComponentJsApi.test.js index aa00a9508..ef8fce9b2 100644 --- a/ace/ace_standard/src/main/js/default/test/commonComponentJsApi.test.js +++ b/ace/ace_standard/src/main/js/default/test/commonComponentJsApi.test.js @@ -137,7 +137,7 @@ describe('aceJsTest', function () { console.info('testButtonComponent START'); let result; let options = { - uri: 'pages/input/index' + uri: 'pages/input/router/index' } try { result = router.push(options) @@ -148,7 +148,7 @@ describe('aceJsTest', function () { await sleep(1000) let pages = router.getState(); console.info("[router.input] getState" + JSON.stringify(pages)); - expect("pages/input/").assertEqual(pages.path); + expect("pages/input/router/").assertEqual(pages.path); done(); }); -- GitLab