Validación de Joi Compare dos contraseña

password: Joi.string().required(),    
confirmPassword:Joi.string().required().valid(Joi.ref('password')),
Spotless Stag