@@ -84,8 +84,8 @@ describe('v1beta1.BigQueryStorageClient', () => {
8484
8585 it('has initialize method and supports deferred initialization', async () => {
8686 const client = new bigquerystorageModule.v1beta1.BigQueryStorageClient({
87- credentials: { client_email: 'bogus', private_key: 'bogus' },
88- projectId: 'bogus',
87+ credentials: {client_email: 'bogus', private_key: 'bogus'},
88+ projectId: 'bogus',
8989 });
9090 assert.strictEqual(client.bigQueryStorageStub, undefined);
9191 await client.initialize();
@@ -94,17 +94,17 @@ describe('v1beta1.BigQueryStorageClient', () => {
9494
9595 it('has close method', () => {
9696 const client = new bigquerystorageModule.v1beta1.BigQueryStorageClient({
97- credentials: { client_email: 'bogus', private_key: 'bogus' },
98- projectId: 'bogus',
97+ credentials: {client_email: 'bogus', private_key: 'bogus'},
98+ projectId: 'bogus',
9999 });
100100 client.close();
101101 });
102102
103103 it('has getProjectId method', async () => {
104104 const fakeProjectId = 'fake-project-id';
105105 const client = new bigquerystorageModule.v1beta1.BigQueryStorageClient({
106- credentials: { client_email: 'bogus', private_key: 'bogus' },
107- projectId: 'bogus',
106+ credentials: {client_email: 'bogus', private_key: 'bogus'},
107+ projectId: 'bogus',
108108 });
109109 client.auth.getProjectId = sinon.stub().resolves(fakeProjectId);
110110 const result = await client.getProjectId();
@@ -115,8 +115,8 @@ describe('v1beta1.BigQueryStorageClient', () => {
115115 it('has getProjectId method with callback', async () => {
116116 const fakeProjectId = 'fake-project-id';
117117 const client = new bigquerystorageModule.v1beta1.BigQueryStorageClient({
118- credentials: { client_email: 'bogus', private_key: 'bogus' },
119- projectId: 'bogus',
118+ credentials: {client_email: 'bogus', private_key: 'bogus'},
119+ projectId: 'bogus',
120120 });
121121 client.auth.getProjectId = sinon.stub().callsArgWith(0, null, fakeProjectId);
122122 const promise = new Promise((resolve, reject) => {
@@ -135,9 +135,9 @@ describe('v1beta1.BigQueryStorageClient', () => {
135135 describe('createReadSession', () => {
136136 it('invokes createReadSession without error', async () => {
137137 const client = new bigquerystorageModule.v1beta1.BigQueryStorageClient({
138- credentials: {client_email: 'bogus', private_key: 'bogus'},
139- projectId: 'bogus',
140- });
138+ credentials: {client_email: 'bogus', private_key: 'bogus'},
139+ projectId: 'bogus',
140+ });
141141 client.initialize();
142142 const request = generateSampleMessage(new protos.google.cloud.bigquery.storage.v1beta1.CreateReadSessionRequest());
143143 request.tableReference = {};
@@ -162,9 +162,9 @@ describe('v1beta1.BigQueryStorageClient', () => {
162162
163163 it('invokes createReadSession without error using callback', async () => {
164164 const client = new bigquerystorageModule.v1beta1.BigQueryStorageClient({
165- credentials: {client_email: 'bogus', private_key: 'bogus'},
166- projectId: 'bogus',
167- });
165+ credentials: {client_email: 'bogus', private_key: 'bogus'},
166+ projectId: 'bogus',
167+ });
168168 client.initialize();
169169 const request = generateSampleMessage(new protos.google.cloud.bigquery.storage.v1beta1.CreateReadSessionRequest());
170170 request.tableReference = {};
@@ -200,9 +200,9 @@ describe('v1beta1.BigQueryStorageClient', () => {
200200
201201 it('invokes createReadSession with error', async () => {
202202 const client = new bigquerystorageModule.v1beta1.BigQueryStorageClient({
203- credentials: {client_email: 'bogus', private_key: 'bogus'},
204- projectId: 'bogus',
205- });
203+ credentials: {client_email: 'bogus', private_key: 'bogus'},
204+ projectId: 'bogus',
205+ });
206206 client.initialize();
207207 const request = generateSampleMessage(new protos.google.cloud.bigquery.storage.v1beta1.CreateReadSessionRequest());
208208 request.tableReference = {};
@@ -228,9 +228,9 @@ describe('v1beta1.BigQueryStorageClient', () => {
228228 describe('batchCreateReadSessionStreams', () => {
229229 it('invokes batchCreateReadSessionStreams without error', async () => {
230230 const client = new bigquerystorageModule.v1beta1.BigQueryStorageClient({
231- credentials: {client_email: 'bogus', private_key: 'bogus'},
232- projectId: 'bogus',
233- });
231+ credentials: {client_email: 'bogus', private_key: 'bogus'},
232+ projectId: 'bogus',
233+ });
234234 client.initialize();
235235 const request = generateSampleMessage(new protos.google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsRequest());
236236 request.session = {};
@@ -253,9 +253,9 @@ describe('v1beta1.BigQueryStorageClient', () => {
253253
254254 it('invokes batchCreateReadSessionStreams without error using callback', async () => {
255255 const client = new bigquerystorageModule.v1beta1.BigQueryStorageClient({
256- credentials: {client_email: 'bogus', private_key: 'bogus'},
257- projectId: 'bogus',
258- });
256+ credentials: {client_email: 'bogus', private_key: 'bogus'},
257+ projectId: 'bogus',
258+ });
259259 client.initialize();
260260 const request = generateSampleMessage(new protos.google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsRequest());
261261 request.session = {};
@@ -289,9 +289,9 @@ describe('v1beta1.BigQueryStorageClient', () => {
289289
290290 it('invokes batchCreateReadSessionStreams with error', async () => {
291291 const client = new bigquerystorageModule.v1beta1.BigQueryStorageClient({
292- credentials: {client_email: 'bogus', private_key: 'bogus'},
293- projectId: 'bogus',
294- });
292+ credentials: {client_email: 'bogus', private_key: 'bogus'},
293+ projectId: 'bogus',
294+ });
295295 client.initialize();
296296 const request = generateSampleMessage(new protos.google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsRequest());
297297 request.session = {};
@@ -315,9 +315,9 @@ describe('v1beta1.BigQueryStorageClient', () => {
315315 describe('finalizeStream', () => {
316316 it('invokes finalizeStream without error', async () => {
317317 const client = new bigquerystorageModule.v1beta1.BigQueryStorageClient({
318- credentials: {client_email: 'bogus', private_key: 'bogus'},
319- projectId: 'bogus',
320- });
318+ credentials: {client_email: 'bogus', private_key: 'bogus'},
319+ projectId: 'bogus',
320+ });
321321 client.initialize();
322322 const request = generateSampleMessage(new protos.google.cloud.bigquery.storage.v1beta1.FinalizeStreamRequest());
323323 request.stream = {};
@@ -340,9 +340,9 @@ describe('v1beta1.BigQueryStorageClient', () => {
340340
341341 it('invokes finalizeStream without error using callback', async () => {
342342 const client = new bigquerystorageModule.v1beta1.BigQueryStorageClient({
343- credentials: {client_email: 'bogus', private_key: 'bogus'},
344- projectId: 'bogus',
345- });
343+ credentials: {client_email: 'bogus', private_key: 'bogus'},
344+ projectId: 'bogus',
345+ });
346346 client.initialize();
347347 const request = generateSampleMessage(new protos.google.cloud.bigquery.storage.v1beta1.FinalizeStreamRequest());
348348 request.stream = {};
@@ -376,9 +376,9 @@ describe('v1beta1.BigQueryStorageClient', () => {
376376
377377 it('invokes finalizeStream with error', async () => {
378378 const client = new bigquerystorageModule.v1beta1.BigQueryStorageClient({
379- credentials: {client_email: 'bogus', private_key: 'bogus'},
380- projectId: 'bogus',
381- });
379+ credentials: {client_email: 'bogus', private_key: 'bogus'},
380+ projectId: 'bogus',
381+ });
382382 client.initialize();
383383 const request = generateSampleMessage(new protos.google.cloud.bigquery.storage.v1beta1.FinalizeStreamRequest());
384384 request.stream = {};
@@ -402,9 +402,9 @@ describe('v1beta1.BigQueryStorageClient', () => {
402402 describe('splitReadStream', () => {
403403 it('invokes splitReadStream without error', async () => {
404404 const client = new bigquerystorageModule.v1beta1.BigQueryStorageClient({
405- credentials: {client_email: 'bogus', private_key: 'bogus'},
406- projectId: 'bogus',
407- });
405+ credentials: {client_email: 'bogus', private_key: 'bogus'},
406+ projectId: 'bogus',
407+ });
408408 client.initialize();
409409 const request = generateSampleMessage(new protos.google.cloud.bigquery.storage.v1beta1.SplitReadStreamRequest());
410410 request.originalStream = {};
@@ -427,9 +427,9 @@ describe('v1beta1.BigQueryStorageClient', () => {
427427
428428 it('invokes splitReadStream without error using callback', async () => {
429429 const client = new bigquerystorageModule.v1beta1.BigQueryStorageClient({
430- credentials: {client_email: 'bogus', private_key: 'bogus'},
431- projectId: 'bogus',
432- });
430+ credentials: {client_email: 'bogus', private_key: 'bogus'},
431+ projectId: 'bogus',
432+ });
433433 client.initialize();
434434 const request = generateSampleMessage(new protos.google.cloud.bigquery.storage.v1beta1.SplitReadStreamRequest());
435435 request.originalStream = {};
@@ -463,9 +463,9 @@ describe('v1beta1.BigQueryStorageClient', () => {
463463
464464 it('invokes splitReadStream with error', async () => {
465465 const client = new bigquerystorageModule.v1beta1.BigQueryStorageClient({
466- credentials: {client_email: 'bogus', private_key: 'bogus'},
467- projectId: 'bogus',
468- });
466+ credentials: {client_email: 'bogus', private_key: 'bogus'},
467+ projectId: 'bogus',
468+ });
469469 client.initialize();
470470 const request = generateSampleMessage(new protos.google.cloud.bigquery.storage.v1beta1.SplitReadStreamRequest());
471471 request.originalStream = {};
@@ -489,9 +489,9 @@ describe('v1beta1.BigQueryStorageClient', () => {
489489 describe('readRows', () => {
490490 it('invokes readRows without error', async () => {
491491 const client = new bigquerystorageModule.v1beta1.BigQueryStorageClient({
492- credentials: {client_email: 'bogus', private_key: 'bogus'},
493- projectId: 'bogus',
494- });
492+ credentials: {client_email: 'bogus', private_key: 'bogus'},
493+ projectId: 'bogus',
494+ });
495495 client.initialize();
496496 const request = generateSampleMessage(new protos.google.cloud.bigquery.storage.v1beta1.ReadRowsRequest());
497497 request.readPosition = {};
@@ -524,9 +524,9 @@ describe('v1beta1.BigQueryStorageClient', () => {
524524
525525 it('invokes readRows with error', async () => {
526526 const client = new bigquerystorageModule.v1beta1.BigQueryStorageClient({
527- credentials: {client_email: 'bogus', private_key: 'bogus'},
528- projectId: 'bogus',
529- });
527+ credentials: {client_email: 'bogus', private_key: 'bogus'},
528+ projectId: 'bogus',
529+ });
530530 client.initialize();
531531 const request = generateSampleMessage(new protos.google.cloud.bigquery.storage.v1beta1.ReadRowsRequest());
532532 request.readPosition = {};
0 commit comments