提交 42e95800 编写于 作者: 廖康康

Modify use case

Signed-off-by: N廖康康 <liaokangkang@huawei.com>
上级 402ea7d7
...@@ -144,7 +144,7 @@ describe("TransientTaskJsTest", function () { ...@@ -144,7 +144,7 @@ describe("TransientTaskJsTest", function () {
} }
backgroundTaskManager.getRemainingDelayTime(info.requestId, (err, res) => { backgroundTaskManager.getRemainingDelayTime(info.requestId, (err, res) => {
if (err.data === 0) { if (!err) {
console.info('TransientTaskJsTest004 backgroundTaskManager success, delaytime:' + res); console.info('TransientTaskJsTest004 backgroundTaskManager success, delaytime:' + res);
expect(true).assertTrue(); expect(true).assertTrue();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册