提交 85a8464d 编写于 作者: Y y00314596 提交者: 杨清

fixed be7a317e from https://gitee.com/yangqing3/xts_acts/pulls/1126

modify on 20211122 by yangqing3@huawei.com
Signed-off-by: Ny00314596 <yangqing3@huawei.com>
上级 798397fb
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"description": "Configuration for intljs Tests", "description": "Configuration for intljs Tests",
"driver": { "driver": {
"type": "JSUnitTest", "type": "JSUnitTest",
"test-timeout": "120000", "test-timeout": "300000",
"package": "ohos.intl.test", "package": "ohos.intl.test",
"shell-timeout": "60000" "shell-timeout": "60000"
}, },
......
...@@ -101,7 +101,7 @@ describe('intlTest', function () { ...@@ -101,7 +101,7 @@ describe('intlTest', function () {
* @tc.desc check the calendar * @tc.desc check the calendar
*/ */
it('locale_test_0800', 0, function () { it('locale_test_0800', 0, function () {
let locale = new Intl.Locale('zh-CN', {hourCycle: '24', calendar: 'gregory'}); let locale = new Intl.Locale('zh-CN', {hourCycle: 'h24', calendar: 'gregory'});
console.log('locale_test_0800 ' + locale.calendar); console.log('locale_test_0800 ' + locale.calendar);
expect(locale.calendar).assertEqual('gregory'); expect(locale.calendar).assertEqual('gregory');
}) })
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"description": "Configuration for resmgrjs Tests", "description": "Configuration for resmgrjs Tests",
"driver": { "driver": {
"type": "JSUnitTest", "type": "JSUnitTest",
"test-timeout": "60000", "test-timeout": "300000",
"package": "ohos.resmgr.test", "package": "ohos.resmgr.test",
"shell-timeout": "60000" "shell-timeout": "60000"
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册