提交 eff56477 编写于 作者: D dongwei

add test cases

Signed-off-by: Ndongwei <dongwei@kaihongdigi.com>
上级 832fe47f
......@@ -63,7 +63,8 @@
"pages/image/router/index",
"pages/label/router/index",
"pages/label/prop/index",
"pages/rating/index",
"pages/rating/prop/index",
"pages/rating/router/index",
"pages/search/router/index",
"pages/search/prop/index",
"pages/toolbar/index",
......
......@@ -311,7 +311,7 @@ describe('aceJsTest', function () {
it('testRatingComponent', 0, async function (done) {
let result;
let options = {
uri: 'pages/rating/index'
uri: 'pages/rating/router/index'
}
try {
result = router.push(options)
......@@ -320,7 +320,7 @@ describe('aceJsTest', function () {
}
await sleep(1000)
let pages = router.getState();
expect("pages/rating/").assertEqual(pages.path);
expect("pages/rating/router/").assertEqual(pages.path);
done();
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册