Skip to content

Commit 60f4ba5

Browse files
committed
fix: 优化单测
1 parent f2f74df commit 60f4ba5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6958,6 +6958,7 @@ group('retry myqcloud.com', function () {
69586958
const cos = new COS({
69596959
SecretId: config.SecretId,
69606960
SecretKey: config.SecretKey,
6961+
Protocol: 'http',
69616962
AutoSwitchHost: false,
69626963
Timeout: 10000,
69636964
});
@@ -7058,6 +7059,7 @@ group('retry tencentcos.cn', function () {
70587059
const cos = new COS({
70597060
SecretId: config.SecretId,
70607061
SecretKey: config.SecretKey,
7062+
Protocol: 'http',
70617063
AutoSwitchHost: false,
70627064
Timeout: 10000,
70637065
Domain: '{Bucket}.cos.{Region}.tencentcos.cn',

0 commit comments

Comments
 (0)