@@ -133,7 +133,7 @@ describe("checkIam", () => {
133
133
projectId ,
134
134
projectNumber ,
135
135
backend . of ( wantFn ) ,
136
- backend . of ( v1EventFn , v2CallableFn , wantFn )
136
+ backend . of ( v1EventFn , v2CallableFn , wantFn ) ,
137
137
) ;
138
138
139
139
expect ( storageStub ) . to . not . have . been . called ;
@@ -161,8 +161,8 @@ describe("checkIam", () => {
161
161
projectId ,
162
162
projectNumber ,
163
163
backend . of ( wantFn ) ,
164
- backend . empty ( )
165
- )
164
+ backend . empty ( ) ,
165
+ ) ,
166
166
) . to . not . be . rejected ;
167
167
expect ( storageStub ) . to . have . been . calledOnce ;
168
168
expect ( getIamStub ) . to . have . been . calledOnce ;
@@ -194,12 +194,12 @@ describe("checkIam", () => {
194
194
projectId ,
195
195
projectNumber ,
196
196
backend . of ( wantFn ) ,
197
- backend . empty ( )
198
- )
197
+ backend . empty ( ) ,
198
+ ) ,
199
199
) . to . be . rejectedWith (
200
200
"We failed to modify the IAM policy for the project. The functions " +
201
201
"deployment requires specific roles to be granted to service agents," +
202
- " otherwise the deployment will fail."
202
+ " otherwise the deployment will fail." ,
203
203
) ;
204
204
expect ( storageStub ) . to . have . been . calledOnce ;
205
205
expect ( getIamStub ) . to . have . been . calledOnce ;
@@ -256,7 +256,7 @@ describe("checkIam", () => {
256
256
projectId ,
257
257
projectNumber ,
258
258
backend . of ( wantFn ) ,
259
- backend . empty ( )
259
+ backend . empty ( ) ,
260
260
) ;
261
261
262
262
expect ( storageStub ) . to . have . been . calledOnce ;
@@ -312,7 +312,7 @@ describe("checkIam", () => {
312
312
projectId ,
313
313
projectNumber ,
314
314
backend . of ( wantFn ) ,
315
- backend . of ( haveFn )
315
+ backend . of ( haveFn ) ,
316
316
) ;
317
317
318
318
expect ( storageStub ) . to . have . been . calledOnce ;
@@ -365,7 +365,7 @@ describe("checkIam", () => {
365
365
projectId ,
366
366
projectNumber ,
367
367
backend . of ( wantFn ) ,
368
- backend . empty ( )
368
+ backend . empty ( ) ,
369
369
) ;
370
370
371
371
expect ( getIamStub ) . to . have . been . calledOnce ;
@@ -401,7 +401,7 @@ describe("checkIam", () => {
401
401
projectId ,
402
402
projectNumber ,
403
403
backend . of ( wantFn ) ,
404
- backend . of ( haveFn )
404
+ backend . of ( haveFn ) ,
405
405
) ;
406
406
407
407
expect ( getIamStub ) . to . not . have . been . called ;
@@ -452,7 +452,7 @@ describe("checkIam", () => {
452
452
projectId ,
453
453
projectNumber ,
454
454
backend . of ( wantFn ) ,
455
- backend . empty ( )
455
+ backend . empty ( ) ,
456
456
) ;
457
457
458
458
expect ( getIamStub ) . to . have . been . calledOnce ;
@@ -488,7 +488,7 @@ describe("checkIam", () => {
488
488
projectId ,
489
489
projectNumber ,
490
490
backend . of ( wantFn ) ,
491
- backend . of ( haveFn )
491
+ backend . of ( haveFn ) ,
492
492
) ;
493
493
494
494
expect ( getIamStub ) . to . not . have . been . called ;
@@ -539,7 +539,7 @@ describe("checkIam", () => {
539
539
projectId ,
540
540
projectNumber ,
541
541
backend . of ( wantFn ) ,
542
- backend . empty ( )
542
+ backend . empty ( ) ,
543
543
) ;
544
544
545
545
expect ( getIamStub ) . to . have . been . calledOnce ;
@@ -575,7 +575,7 @@ describe("checkIam", () => {
575
575
projectId ,
576
576
projectNumber ,
577
577
backend . of ( wantFn ) ,
578
- backend . of ( haveFn )
578
+ backend . of ( haveFn ) ,
579
579
) ;
580
580
581
581
expect ( getIamStub ) . to . not . have . been . called ;
@@ -636,7 +636,7 @@ describe("checkIam", () => {
636
636
projectId ,
637
637
projectNumber ,
638
638
backend . of ( wantFn ) ,
639
- backend . empty ( )
639
+ backend . empty ( ) ,
640
640
) ;
641
641
642
642
expect ( getIamStub ) . to . have . been . calledOnce ;
0 commit comments