File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
packages/data-service/src Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -219,6 +219,15 @@ export async function connectMongoClientDataService({
219219 class CompassMongoClient extends MongoClient {
220220 constructor ( url : string , options ?: MongoClientOptions ) {
221221 super ( url , options ) ;
222+ // TODO(COMPASS-9073): This is a workaround to fix some test failures we're seeing
223+ // in CI after the Node.js driver 6.13.0 release. We should investigate why
224+ // this fixes e2e tests, specifically the ones for verifying that the
225+ // "Queryable Encryption" collection badge is displayed correctly.
226+ Object . defineProperty ( this , 'options' , {
227+ ...Object . getOwnPropertyDescriptor ( this , 'options' ) ,
228+ enumerable : false ,
229+ configurable : true ,
230+ } ) ;
222231 if ( setupListeners ) {
223232 setupListeners ( this ) ;
224233 }
You can’t perform that action at this time.
0 commit comments