File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
test/unit/client-side-encryption Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 88 type AutoEncryptionOptions ,
99 BSON ,
1010 type DataKey ,
11- MongoClient ,
11+ type MongoClient ,
1212 MongocryptdManager ,
1313 StateMachine
1414} from '../../mongodb' ;
@@ -109,7 +109,9 @@ describe('AutoEncrypter', function () {
109109 const autoEncrypter = new AutoEncrypter ( client , autoEncrypterOptions ) ;
110110
111111 it ( 'instantiates a mongo client on the auto encrypter' , function ( ) {
112- expect ( autoEncrypter ) . to . have . property ( '_mongocryptdClient' ) . to . be . instanceOf ( MongoClient ) ;
112+ expect ( autoEncrypter )
113+ . to . have . property ( '_mongocryptdClient' )
114+ . to . have . nested . property ( 's.isMongoClient' ) ;
113115 } ) ;
114116
115117 it ( 'sets serverSelectionTimeoutMS to 10000ms' , function ( ) {
You can’t perform that action at this time.
0 commit comments