File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -77,11 +77,7 @@ describe('MongoErrors', () => {
7777 expect ( errorNameDescriptor ) . to . have . property ( 'set' ) . that . does . not . exist ;
7878 expect ( errorNameDescriptor ) . to . not . have . property ( 'value' ) ;
7979 expect ( errorNameDescriptor ) . to . have . property ( 'get' ) ;
80- if ( errorName === 'MongoAbortError' ) {
81- expect ( errorNameDescriptor . get . call ( undefined ) ) . to . equal ( 'AbortError' ) ;
82- } else {
83- expect ( errorNameDescriptor . get . call ( undefined ) ) . to . equal ( errorName ) ;
84- }
80+ expect ( errorNameDescriptor . get . call ( undefined ) ) . to . equal ( errorName ) ;
8581 } ) ;
8682 }
8783 } ) ;
Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ const EXPECTED_EXPORTS = [
6060 'Long' ,
6161 'MaxKey' ,
6262 'MinKey' ,
63- 'MongoAbortError' ,
6463 'MongoAPIError' ,
6564 'MongoAWSError' ,
6665 'MongoAzureError' ,
You can’t perform that action at this time.
0 commit comments