Skip to content

Commit

Permalink
fix: allow unkown keys in baseModuleSchema
Browse files Browse the repository at this point in the history
  • Loading branch information
eysi09 committed Apr 20, 2018
1 parent 9cd85c3 commit 78303de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,4 @@ export const baseModuleSchema = Joi.object().keys({
dependencies: Joi.array().items(baseDependencySchema).default(() => [], "[]"),
}).default(() => ({ dependencies: [] }), "{}"),
test: Joi.object().pattern(/[\w\d]+/i, baseTestSpecSchema).default(() => ({}), "{}"),
}).required()
}).required().unknown(true)

0 comments on commit 78303de

Please sign in to comment.