@@ -129,7 +129,7 @@ describe('BulkLoad', function() {
129129 it ( 'fails if the column definition does not match the target table format' , function ( done ) {
130130 const bulkLoad = connection . newBulkLoad ( '#tmpTestTable2' , ( err , rowCount ) => {
131131 assert . instanceOf ( err , RequestError , 'An error should have been thrown to indicate the incorrect table format.' ) ;
132- assert . strictEqual ( /** @type { RequestError } */ ( err ) . message , 'An unknown error has occurred. This is likely because the schema of the BulkLoad does not match the schema of the table you are attempting to insert into.' ) ;
132+ assert . strictEqual ( err . message , 'An unknown error has occurred. This is likely because the schema of the BulkLoad does not match the schema of the table you are attempting to insert into.' ) ;
133133
134134 assert . isUndefined ( rowCount ) ;
135135
@@ -376,7 +376,7 @@ describe('BulkLoad', function() {
376376 ] . join ( ' ' ) ;
377377
378378 assert . instanceOf ( err , RequestError ) ;
379- assert . strictEqual ( /** @type { RequestError } */ ( err ) . message , expectedMessage ) ;
379+ assert . strictEqual ( err . message , expectedMessage ) ;
380380
381381 assert . strictEqual ( rowCount , 0 ) ;
382382
@@ -486,7 +486,7 @@ describe('BulkLoad', function() {
486486 it ( 'does not insert any rows if `cancel` is called immediately after executing the bulk load' , function ( done ) {
487487 const bulkLoad = connection . newBulkLoad ( '#tmpTestTable5' , { keepNulls : true } , ( err , rowCount ) => {
488488 assert . instanceOf ( err , RequestError ) ;
489- assert . strictEqual ( /** @type { RequestError } */ ( err ) . message , 'Canceled.' ) ;
489+ assert . strictEqual ( err . message , 'Canceled.' ) ;
490490
491491 assert . isUndefined ( rowCount ) ;
492492
@@ -1154,7 +1154,7 @@ describe('BulkLoad', function() {
11541154 */
11551155 function completeBulkLoad ( err , rowCount ) {
11561156 assert . instanceOf ( err , RequestError ) ;
1157- assert . strictEqual ( /** @type { RequestError } */ ( err ) . message , 'Canceled.' ) ;
1157+ assert . strictEqual ( err . message , 'Canceled.' ) ;
11581158
11591159 assert . strictEqual ( rowCount , 0 ) ;
11601160 startVerifyTableContent ( ) ;
@@ -1199,7 +1199,7 @@ describe('BulkLoad', function() {
11991199
12001200 const bulkLoad = connection . newBulkLoad ( '#stream_test' , ( err , rowCount ) => {
12011201 assert . instanceOf ( err , RequestError ) ;
1202- assert . strictEqual ( /** @type { RequestError } */ ( err ) . message , 'Canceled.' ) ;
1202+ assert . strictEqual ( err . message , 'Canceled.' ) ;
12031203
12041204 assert . strictEqual ( rowCount , 0 ) ;
12051205 } ) ;
@@ -1238,7 +1238,7 @@ describe('BulkLoad', function() {
12381238 it ( 'cancels any bulk load that takes longer than the given timeout' , function ( done ) {
12391239 const bulkLoad = connection . newBulkLoad ( '#tmpTestTable5' , { keepNulls : true } , ( err , rowCount ) => {
12401240 assert . instanceOf ( err , RequestError ) ;
1241- assert . strictEqual ( /** @type { RequestError } */ ( err ) . message , 'Timeout: Request failed to complete in 10ms' ) ;
1241+ assert . strictEqual ( err . message , 'Timeout: Request failed to complete in 10ms' ) ;
12421242
12431243 done ( ) ;
12441244 } ) ;
@@ -1339,7 +1339,7 @@ describe('BulkLoad', function() {
13391339 */
13401340 function completeBulkLoad ( err , rowCount ) {
13411341 assert . instanceOf ( err , RequestError ) ;
1342- assert . strictEqual ( /** @type { RequestError } */ ( err ) . message , 'Timeout: Request failed to complete in 200ms' ) ;
1342+ assert . strictEqual ( err . message , 'Timeout: Request failed to complete in 200ms' ) ;
13431343
13441344 assert . strictEqual ( rowCount , 0 ) ;
13451345
@@ -1526,7 +1526,7 @@ describe('BulkLoad', function() {
15261526 */
15271527 function completeBulkLoad ( err , rowCount ) {
15281528 assert . instanceOf ( err , TypeError ) ;
1529- assert . strictEqual ( /** @type { TypeError } */ ( err ) . message , 'Invalid date.' ) ;
1529+ assert . strictEqual ( err . message , 'Invalid date.' ) ;
15301530
15311531 done ( ) ;
15321532 }
@@ -1546,7 +1546,7 @@ describe('BulkLoad', function() {
15461546 */
15471547 function completeBulkLoad ( err , rowCount ) {
15481548 assert . instanceOf ( err , TypeError ) ;
1549- assert . strictEqual ( /** @type { TypeError } */ ( err ) . message , 'Invalid date.' ) ;
1549+ assert . strictEqual ( err . message , 'Invalid date.' ) ;
15501550
15511551 assert . strictEqual ( rowCount , 0 ) ;
15521552
0 commit comments