提交 cbc4db8d 编写于 作者: L liwenbo

add test cases

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