Validação de JOI Compare duas senha

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