提交 9e59a9f4 编写于 作者: Z zhangyushuai

modified request build error

Signed-off-by: Nzhangyushuai <zhangyushuai1@huawei.com>
上级 21c05169
......@@ -113,7 +113,7 @@ function publicoff(Updatetask, Type){
}
//remove公共方法
function publicremove(Updatetask, Type){
function publicremove(Updatetask){
return new Promise(function(resolve, reject) {
Updatetask.remove((err,data) => {
console.info("Testupdate publicremove =" + data);
......
......@@ -108,7 +108,7 @@ export default function uploadRequestJsunitTest() {
await pubfun.publicoffprogress(uploadTask, typeProgress).then((data) => {
console.info("SwitchOffProgressCallback001 data" + JSON.stringify(data));
expect(7).assertEqual(data.totalSize);
expect(7).assertEqual(data["totalSize"]);
done();
}).catch((err) => {
console.info("SwitchOffProgressCallback001 fail 2" + JSON.stringify(err));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册