上级 9a147d09
...@@ -137,7 +137,7 @@ describe('aceJsTest', function () { ...@@ -137,7 +137,7 @@ describe('aceJsTest', function () {
console.info('testButtonComponent START'); console.info('testButtonComponent START');
let result; let result;
let options = { let options = {
uri: 'pages/input/index' uri: 'pages/input/router/index'
} }
try { try {
result = router.push(options) result = router.push(options)
...@@ -148,7 +148,7 @@ describe('aceJsTest', function () { ...@@ -148,7 +148,7 @@ describe('aceJsTest', function () {
await sleep(1000) await sleep(1000)
let pages = router.getState(); let pages = router.getState();
console.info("[router.input] getState" + JSON.stringify(pages)); console.info("[router.input] getState" + JSON.stringify(pages));
expect("pages/input/").assertEqual(pages.path); expect("pages/input/router/").assertEqual(pages.path);
done(); done();
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册