提交 2b979572 编写于 作者: H hk_js

fix the default value

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