提交 acfbe728 编写于 作者: O openharmony_ci 提交者: Gitee

!1129 sync to 3.0-lts by yangqing3@huawei.com

Merge pull request !1129 from 杨清/cherry-pick-1637568888
...@@ -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.
先完成此消息的编辑!
想要评论请 注册