@@ -71,12 +71,11 @@ describe('connectMongoClient', function () {
71
71
authMechanismProperties : { } ,
72
72
oidc : {
73
73
allowedFlows : options . oidc ?. allowedFlows ,
74
- customHttpOptions : options . oidc ?. customHttpOptions ,
75
74
signal : undefined ,
76
75
} ,
77
76
autoEncryption : undefined ,
78
77
parentHandle : options . parentHandle ,
79
- applyProxyToOIDC : false ,
78
+ applyProxyToOIDC : { } ,
80
79
...defaultOptions ,
81
80
} ) ;
82
81
expect ( await ( options . oidc ?. allowedFlows as any ) ( ) ) . to . deep . equal ( [
@@ -120,11 +119,10 @@ describe('connectMongoClient', function () {
120
119
authMechanismProperties : { } ,
121
120
oidc : {
122
121
allowedFlows : options . oidc ?. allowedFlows ,
123
- customHttpOptions : options . oidc ?. customHttpOptions ,
124
122
signal : undefined ,
125
123
} ,
126
124
parentHandle : options . parentHandle ,
127
- applyProxyToOIDC : false ,
125
+ applyProxyToOIDC : { } ,
128
126
...defaultOptions ,
129
127
} ) ;
130
128
expect ( await ( options . oidc ?. allowedFlows as any ) ( ) ) . to . deep . equal ( [
@@ -157,12 +155,11 @@ describe('connectMongoClient', function () {
157
155
authMechanismProperties : { } ,
158
156
oidc : {
159
157
allowedFlows : options . oidc ?. allowedFlows ,
160
- customHttpOptions : options . oidc ?. customHttpOptions ,
161
158
signal : undefined ,
162
159
} ,
163
160
autoEncryption : undefined ,
164
161
parentHandle : options . parentHandle ,
165
- applyProxyToOIDC : false ,
162
+ applyProxyToOIDC : { } ,
166
163
...defaultOptions ,
167
164
} ) ;
168
165
expect ( await ( options . oidc ?. allowedFlows as any ) ( ) ) . to . deep . equal ( [
0 commit comments