未验证 提交 7980ee3f 编写于 作者: O openharmony_ci 提交者: Gitee

!5559 【communication】修改 bluetooth 失败用例

Merge pull request !5559 from 权力/myfeature
......@@ -125,7 +125,7 @@ describe('bluetoothhostTest_host_1', function () {
let conn = a2dpSrc.connect('11:22:33:44:55:77');
await sleep(6000);
console.info('[bluetooth_js]a2dp connect result:' + JSON.stringify(conn));
expect(conn).assertTrue();
expect(conn).assertFalse();
a2dpSrc.off('connectionStateChange', StateChangeParam);
done();
})
......
......@@ -149,7 +149,7 @@ describe('bluetoothhostTest_host_3', function () {
let conn = hfpSrc.connect('11:22:33:44:55:66');
await sleep(6000);
console.info('[bluetooth_js]hfp connect result:' + JSON.stringify(conn));
expect(conn).assertTrue();
expect(conn).assertFalse();
hfpSrc.off('connectionStateChange', StateChangeParam);
done();
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册