let testKey = '690905a739450438a1234d21';
new mongoose.Types.ObjectId(`${value}`)
Use string interpolation, It will work definitely.