Skip to content

Commit c6f9418

Browse files
fix: get eslint passing (#149)
1 parent 184e46f commit c6f9418

8 files changed

Lines changed: 213 additions & 191 deletions

File tree

handwritten/bigquery/samples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"author": "Google LLC",
77
"repository": "googleapis/nodejs-bigquery",
88
"engines": {
9-
"node": ">=6"
9+
"node": ">=8"
1010
},
1111
"scripts": {
1212
"test": "npm run cover",

handwritten/bigquery/samples/system-test/tables.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ test.serial(`should load a local file`, async t => {
117117
.dataset(datasetId)
118118
.table(tableId)
119119
.getRows();
120-
assert.equal(rows.length, 1);
120+
assert.strictEqual(rows.length, 1);
121121
})
122122
.start();
123123
});

handwritten/bigquery/samples/tables.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ function copyTable(
183183
const job = results[0];
184184

185185
// load() waits for the job to finish
186-
assert.equal(job.status.state, 'DONE');
186+
assert.strictEqual(job.status.state, 'DONE');
187187
console.log(`Job ${job.id} completed.`);
188188

189189
// Check the job's status for errors
@@ -225,7 +225,7 @@ function loadLocalFile(datasetId, tableId, filename, projectId) {
225225
const job = results[0];
226226

227227
// load() waits for the job to finish
228-
assert.equal(job.status.state, 'DONE');
228+
assert.strictEqual(job.status.state, 'DONE');
229229
console.log(`Job ${job.id} completed.`);
230230

231231
// Check the job's status for errors
@@ -292,7 +292,7 @@ function loadParquetFromGCS(datasetId, tableId, projectId) {
292292
const job = results[0];
293293

294294
// load() waits for the job to finish
295-
assert.equal(job.status.state, 'DONE');
295+
assert.strictEqual(job.status.state, 'DONE');
296296
console.log(`Job ${job.id} completed.`);
297297

298298
// Check the job's status for errors
@@ -360,7 +360,7 @@ function loadCSVFromGCS(datasetId, tableId, projectId) {
360360
const job = results[0];
361361

362362
// load() waits for the job to finish
363-
assert.equal(job.status.state, 'DONE');
363+
assert.strictEqual(job.status.state, 'DONE');
364364
console.log(`Job ${job.id} completed.`);
365365

366366
// Check the job's status for errors
@@ -423,7 +423,7 @@ function loadCSVFromGCSAutodetect(datasetId, tableId, projectId) {
423423
const job = results[0];
424424

425425
// load() waits for the job to finish
426-
assert.equal(job.status.state, 'DONE');
426+
assert.strictEqual(job.status.state, 'DONE');
427427
console.log(`Job ${job.id} completed.`);
428428

429429
// Check the job's status for errors
@@ -493,7 +493,7 @@ function loadCSVFromGCSAppend(datasetId, tableId, projectId) {
493493
const job = results[0];
494494

495495
// load() waits for the job to finish
496-
assert.equal(job.status.state, 'DONE');
496+
assert.strictEqual(job.status.state, 'DONE');
497497
console.log(`Job ${job.id} completed.`);
498498

499499
// Check the job's status for errors
@@ -563,7 +563,7 @@ function loadCSVFromGCSTruncate(datasetId, tableId, projectId) {
563563
const job = results[0];
564564

565565
// load() waits for the job to finish
566-
assert.equal(job.status.state, 'DONE');
566+
assert.strictEqual(job.status.state, 'DONE');
567567
console.log(`Job ${job.id} completed.`);
568568

569569
// Check the job's status for errors
@@ -617,7 +617,7 @@ function extractTableToGCS(
617617
const job = results[0];
618618

619619
// load() waits for the job to finish
620-
assert.equal(job.status.state, 'DONE');
620+
assert.strictEqual(job.status.state, 'DONE');
621621
console.log(`Job ${job.id} completed.`);
622622

623623
// Check the job's status for errors

0 commit comments

Comments
 (0)