提交 807867ba 编写于 作者: X xionglei6

fix bugs for watch

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 aa06a4e4
...@@ -1316,6 +1316,7 @@ describe('SystemParameterTest', function () { ...@@ -1316,6 +1316,7 @@ describe('SystemParameterTest', function () {
console.info("system_parameter_test_0819 callback value: " + value); console.info("system_parameter_test_0819 callback value: " + value);
}); });
console.info("system_parameter_test_0819 code: " + code); console.info("system_parameter_test_0819 code: " + code);
} else {
ret = true; ret = true;
} }
} catch (e) { } catch (e) {
...@@ -1391,8 +1392,10 @@ describe('SystemParameterTest', function () { ...@@ -1391,8 +1392,10 @@ describe('SystemParameterTest', function () {
ret = false; ret = false;
console.info("input error: " + e); console.info("input error: " + e);
} }
expect(ret).assertTrue(); setTimeout(function(){
done(); expect(ret).assertTrue();
done();
}, '1000');
console.info('system_parameter_test_0821 end '); console.info('system_parameter_test_0821 end ');
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册