@@ -161,12 +161,6 @@ function stubAsyncIterationCall<ResponseType>(
161161
162162describe ( 'v2.BigtableTableAdminClient' , ( ) => {
163163 describe ( 'Common methods' , ( ) => {
164- it ( 'has servicePath' , ( ) => {
165- const client = new bigtabletableadminModule . v2 . BigtableTableAdminClient ( ) ;
166- const servicePath = client . servicePath ;
167- assert . strictEqual ( servicePath , 'bigtableadmin.googleapis.com' ) ;
168- } ) ;
169-
170164 it ( 'has apiEndpoint' , ( ) => {
171165 const client = new bigtabletableadminModule . v2 . BigtableTableAdminClient ( ) ;
172166 const apiEndpoint = client . apiEndpoint ;
@@ -201,19 +195,19 @@ describe('v2.BigtableTableAdminClient', () => {
201195 stub . restore ( ) ;
202196 } ) ;
203197 }
204- it ( 'sets servicePath according to universe domain camelCase' , ( ) => {
198+ it ( 'sets apiEndpoint according to universe domain camelCase' , ( ) => {
205199 const client = new bigtabletableadminModule . v2 . BigtableTableAdminClient ( {
206200 universeDomain : 'example.com' ,
207201 } ) ;
208- const servicePath = client . servicePath ;
202+ const servicePath = client . apiEndpoint ;
209203 assert . strictEqual ( servicePath , 'bigtableadmin.example.com' ) ;
210204 } ) ;
211205
212- it ( 'sets servicePath according to universe domain snakeCase' , ( ) => {
206+ it ( 'sets apiEndpoint according to universe domain snakeCase' , ( ) => {
213207 const client = new bigtabletableadminModule . v2 . BigtableTableAdminClient ( {
214208 universe_domain : 'example.com' ,
215209 } ) ;
216- const servicePath = client . servicePath ;
210+ const servicePath = client . apiEndpoint ;
217211 assert . strictEqual ( servicePath , 'bigtableadmin.example.com' ) ;
218212 } ) ;
219213 it ( 'does not allow setting both universeDomain and universe_domain' , ( ) => {
0 commit comments