File tree 4 files changed +7
-11
lines changed
4 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 6
6
7
7
8
8
# Unless specified, the jsteam is the default owner for nodejs repositories.
9
- * @ googleapis/cloud-storage-dpe @ googleapis/jsteam
9
+ * @ googleapis/gcs-sdk-team @ googleapis/jsteam
Original file line number Diff line number Diff line change 10
10
"distribution_name" : " @google-cloud/storage" ,
11
11
"api_id" : " storage-api.googleapis.com" ,
12
12
"requires_billing" : true ,
13
- "codeowner_team" : " @googleapis/cloud-storage-dpe " ,
13
+ "codeowner_team" : " @googleapis/gcs-sdk-team " ,
14
14
"api_shortname" : " storage" ,
15
15
"library_type" : " GAPIC_MANUAL"
16
16
}
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ describe('common/util', () => {
105
105
let util : Util & { [ index : string ] : Function } ;
106
106
107
107
// eslint-disable-next-line @typescript-eslint/no-explicit-any
108
- function stub ( method : keyof Util , meth : ( ...args : any [ ] ) => void ) {
108
+ function stub ( method : keyof Util , meth : ( ...args : any [ ] ) => any ) {
109
109
return sandbox . stub ( util , method ) . callsFake ( meth ) ;
110
110
}
111
111
Original file line number Diff line number Diff line change @@ -189,10 +189,9 @@ describe('signer', () => {
189
189
const expiresNumber = accessibleAtNumber + 86400000 ; //2020-02-18T16:00:00-08:00
190
190
191
191
it ( 'should set correct settings if accessibleAt provided' , async ( ) => {
192
- const authClientSign : sinon . SinonStub <
193
- [ string ] ,
194
- Promise < string >
195
- > = sandbox . stub ( authClient , 'sign' ) . resolves ( 'signature' ) ;
192
+ const authClientSign = sandbox
193
+ . stub ( authClient , 'sign' )
194
+ . resolves ( 'signature' ) ;
196
195
const accessibleAt = new Date ( accessibleAtNumber ) ;
197
196
await signer . getSignedUrl ( {
198
197
version : 'v4' ,
@@ -461,10 +460,7 @@ describe('signer', () => {
461
460
} ) ;
462
461
463
462
describe ( 'blobToSign' , ( ) => {
464
- let authClientSign : sinon . SinonStub <
465
- [ blobToSign : string ] & [ data : string , endpoint ?: string | undefined ] ,
466
- Promise < string >
467
- > ;
463
+ let authClientSign : sinon . SinonStub ;
468
464
beforeEach ( ( ) => {
469
465
authClientSign = sandbox
470
466
. stub < GoogleAuth | AuthClient , 'sign' > ( authClient , 'sign' )
You can’t perform that action at this time.
0 commit comments