提交 46408700 编写于 作者: H hk_js

fix the default value

Signed-off-by: Nhk_js <hekun18@huawei.com>
上级 f0e73a66
......@@ -106,7 +106,7 @@ describe('window_test', function () {
expect(!data.isKeepScreenOn).assertTrue();
expect(!data.isTransparent).assertTrue();
expect(data.brightness != null).assertTrue();
expect(data.dimBehindValue).assertEqual(undefined);
expect(data.dimBehindValue).assertEqual(0);
expect(!data.isRoundCorner).assertTrue();
expect(!data.isPrivacyMode).assertTrue();
done();
......@@ -150,7 +150,7 @@ describe('window_test', function () {
expect(!data.isKeepScreenOn).assertTrue();
expect(!data.isTransparent).assertTrue();
expect(data.brightness != null).assertTrue();
expect(data.dimBehindValue).assertEqual(undefined);
expect(data.dimBehindValue).assertEqual(0);
expect(!data.isRoundCorner).assertTrue();
expect(!data.isPrivacyMode).assertTrue();
done();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册