From 78303dee4b40071f3956a92d16772bf30e5d24c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ey=C3=BE=C3=B3r=20Magn=C3=BAsson?= Date: Fri, 20 Apr 2018 07:32:56 +0200 Subject: [PATCH] fix: allow unkown keys in baseModuleSchema --- src/types/module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/module.ts b/src/types/module.ts index 38d4571fe8..dfbe670225 100644 --- a/src/types/module.ts +++ b/src/types/module.ts @@ -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)