提交 ccd0ac01 编写于 作者: G guoyoujing

add test cases

Signed-off-by: Nguoyoujing <guoyoujing@kaihongdigi.com>
上级 6dc3e06a
......@@ -904,7 +904,7 @@ describe('aceJsTest', function () {
it('testImageAnimatorComponent', 0, async function (done) {
let result;
let options = {
uri: 'pages/imageAnimator/index'
uri: 'pages/imageAnimator/router/index'
}
try {
result = router.push(options)
......@@ -915,7 +915,7 @@ describe('aceJsTest', function () {
await sleep(5000)
let pages = router.getState();
console.info("[router.imageAnimator] getState" + JSON.stringify(pages));
expect("pages/imageAnimator/").assertEqual(pages.path);
expect("pages/imageAnimator/router/").assertEqual(pages.path);
done();
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册