File tree 1 file changed +6
-5
lines changed
test/integration/node-specific
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
- import * as child_process from 'node:child_process' ;
2
1
import * as events from 'node:events' ;
3
2
import * as util from 'node:util' ;
4
3
@@ -8,7 +7,6 @@ import * as sinon from 'sinon';
8
7
import {
9
8
type AbstractCursor ,
10
9
AggregationCursor ,
11
- AutoEncrypter ,
12
10
ClientEncryption ,
13
11
type Collection ,
14
12
type Db ,
@@ -17,8 +15,7 @@ import {
17
15
type Log ,
18
16
type MongoClient ,
19
17
ReadPreference ,
20
- setDifference ,
21
- UUID
18
+ setDifference
22
19
} from '../../mongodb' ;
23
20
import {
24
21
clearFailPoint ,
@@ -436,7 +433,11 @@ describe('AbortSignal support', () => {
436
433
let utilClient = this . configuration . newClient ( { } , { } ) ;
437
434
438
435
try {
439
- await utilClient . db ( 'abortSignal' ) . collection ( 'support' ) . drop ( { } ) ;
436
+ await utilClient
437
+ . db ( 'abortSignal' )
438
+ . collection ( 'support' )
439
+ . drop ( { } )
440
+ . catch ( ( ) => null ) ;
440
441
441
442
const clientEncryption = new ClientEncryption ( utilClient , {
442
443
...autoEncryption ,
You can’t perform that action at this time.
0 commit comments