@@ -70,6 +70,7 @@ describe('BaseExternalAccountClient', () => {
70
70
credential_source : {
71
71
file : '/var/run/secrets/goog.id/token' ,
72
72
} ,
73
+ universe_domain : 'universe.domain.com' ,
73
74
} ;
74
75
const externalAccountOptionsWithCreds = {
75
76
type : 'external_account' ,
@@ -283,26 +284,6 @@ describe('BaseExternalAccountClient', () => {
283
284
} ) ;
284
285
} ) ;
285
286
286
- describe ( 'universeDomain' , ( ) => {
287
- it ( 'should be undefined if not set' , ( ) => {
288
- const client = new TestExternalAccountClient ( externalAccountOptions ) ;
289
-
290
- assert ( client . universeDomain === undefined ) ;
291
- } ) ;
292
-
293
- it ( 'should be set if provided' , ( ) => {
294
- const universeDomain = 'universe.domain.com' ;
295
- const options : BaseExternalAccountClientOptions = Object . assign (
296
- { } ,
297
- externalAccountOptions
298
- ) ;
299
- options . universe_domain = universeDomain ;
300
- const client = new TestExternalAccountClient ( options ) ;
301
-
302
- assert . equal ( client . universeDomain , universeDomain ) ;
303
- } ) ;
304
- } ) ;
305
-
306
287
describe ( 'getServiceAccountEmail()' , ( ) => {
307
288
it ( 'should return the service account email when impersonation is used' , ( ) => {
308
289
const saEmail = '[email protected] ' ;
0 commit comments