未验证 提交 95438f2d 编写于 作者: O openharmony_ci 提交者: Gitee

!5130 【OpenHarmony开源贡献者计划2022】修改WifiSta.test.js文件中表达式未用分号结尾问题

Merge pull request !5130 from 七七/master
...@@ -123,7 +123,7 @@ export default function actsWifiTest() { ...@@ -123,7 +123,7 @@ export default function actsWifiTest() {
+"infoElems: " + result[j].infoElems); +"infoElems: " + result[j].infoElems);
} }
} }
done() done();
}); });
}) })
...@@ -348,7 +348,7 @@ export default function actsWifiTest() { ...@@ -348,7 +348,7 @@ export default function actsWifiTest() {
resolve() resolve()
}); });
}) })
await promise.then(done) await promise.then(done);
}); });
done(); done();
...@@ -372,7 +372,7 @@ export default function actsWifiTest() { ...@@ -372,7 +372,7 @@ export default function actsWifiTest() {
resolve() resolve()
}); });
}) })
await promise.then(done) await promise.then(done);
}); });
done(); done();
...@@ -396,7 +396,7 @@ export default function actsWifiTest() { ...@@ -396,7 +396,7 @@ export default function actsWifiTest() {
resolve() resolve()
}); });
}) })
await promise.then(done) await promise.then(done);
}); });
let scan = wifi.scan(); let scan = wifi.scan();
sleep(3000); sleep(3000);
...@@ -422,7 +422,8 @@ export default function actsWifiTest() { ...@@ -422,7 +422,8 @@ export default function actsWifiTest() {
resolve() resolve()
}); });
}) })
await promise.then(done) await promise.then(done);
await promise.then(done);
}); });
done(); done();
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册