提交 cb4b9307 编写于 作者: H huawei

edit warning

Signed-off-by: Nliuxiaopei <liuxiaopei@huawei.com>
上级 6686308d
...@@ -313,7 +313,9 @@ describe('deviceManagerTest', function() { ...@@ -313,7 +313,9 @@ describe('deviceManagerTest', function() {
expect().assertFail(); expect().assertFail();
return ; return ;
} }
var fa = data.on('deviceStateChange', () => {}); var fa = data.on('deviceStateChange', (deviceStateChangeAction, deviceInfo) => {
expect(true).assertEqual(deviceStateChangeAction.ONLINE == 0);
});
expect(fa).assertUndefined(); expect(fa).assertUndefined();
}); });
console.log("----------stop running deviceManagerTest_on-deviceStateChange_0100----------"); console.log("----------stop running deviceManagerTest_on-deviceStateChange_0100----------");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册