fix: Warning logged when setting option databaseOptions.disableIndexFieldValidation (#9880)
This commit is contained in:
@@ -81,7 +81,8 @@ describe('Config Keys', () => {
|
||||
connectTimeoutMS: 5000,
|
||||
socketTimeoutMS: 5000,
|
||||
autoSelectFamily: true,
|
||||
autoSelectFamilyAttemptTimeout: 3000
|
||||
autoSelectFamilyAttemptTimeout: 3000,
|
||||
disableIndexFieldValidation: true
|
||||
},
|
||||
})).toBeResolved();
|
||||
expect(loggerErrorSpy.calls.all().reduce((s, call) => s += call.args[0], '')).not.toMatch(invalidKeyErrorMessage);
|
||||
|
||||
Reference in New Issue
Block a user