Hapi Lab how to test all the required fields
问题 Is there a way to check all the required fields without the need of a test each field. validation rules const Confirmation = Joi.any().valid(Joi.ref('password')).required().options({ language: { any: { allowOnly: 'must match password' } } }); const Email = Joi.string().email(); const Firstname = Joi.string().regex(/^[a-zA-Z\']+$/).min(2).max(30); const Lastname = Joi.string().regex(/^[a-zA-Z\']+$/).min(2).max(30); const Password = Joi.string().min(3).max(30); const Username = Joi.string()