提交 1b44a5b0 编写于 作者: L lishumao

add test cases

Signed-off-by: Nlishumao <lishumao@kaihongdigi.com>
上级 20787c35
......@@ -83,7 +83,8 @@
"pages/progress/router/index",
"pages/progress/prop/index",
"pages/qrcode/index",
"pages/select/index",
"pages/select/prop/index",
"pages/select/router/index",
"pages/div/router/index",
"pages/badge/router/index",
"pages/badge/prop/index",
......
......@@ -584,7 +584,7 @@ describe('aceJsTest', function () {
it('testSelectComponent', 0, async function (done) {
let result;
let options = {
uri: 'pages/select/index'
uri: 'pages/select/router/index'
}
try {
result = router.push(options)
......@@ -593,7 +593,7 @@ describe('aceJsTest', function () {
}
await sleep(1000)
let pages = router.getState();
expect("pages/select/").assertEqual(pages.path);
expect("pages/select/router/").assertEqual(pages.path);
done();
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册