提交 afbfca23 编写于 作者: O openharmony_ci 提交者: Gitee

!1102 fix: param watch bugs

Merge pull request !1102 from 熊磊/xts_acts1117
...@@ -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.
先完成此消息的编辑!
想要评论请 注册