Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
kind: Joi.string().required(),
stories: Joi.array().min(1).items(
Joi.object().keys({
name: Joi.string().required(),
steps: stepsSchema
})
).required()
})
).required(),
build: Joi.string().max(40),
branch: Joi.string().max(100),
commit: Joi.string(),
pullRequest: Joi.string(),
resolution: resolutionSchema,
resolutions: Joi.array().min(1).items(
resolutionSchema
),
browsers: browsersSchema,
cssAnimations: Joi.boolean(),
ignore: Joi.string(),
hide: Joi.string(),
includeRules: Joi.array().min(0).items(
Joi.string(),
Joi.object().type(RegExp)
),
excludeRules: Joi.array().min(0).items(
Joi.string(),
Joi.object().type(RegExp)
),
baseBranch: Joi.string().max(100),
initialBaselineBranch: Joi.string().max(100),
useNewerBaseBranch: Joi.string().valid('accepted', 'latest'),