From a091de2594074cfc9c1efecb73b064871497010c Mon Sep 17 00:00:00 2001 From: Alvaro Cabrera <pateketrueke@gmail.com> Date: Fri, 25 Nov 2016 03:07:00 -0600 Subject: [PATCH] Missing spec for exhaustive checkings; see #158 --- spec/schema/core/issues/issue-158.json | 40 ++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 spec/schema/core/issues/issue-158.json diff --git a/spec/schema/core/issues/issue-158.json b/spec/schema/core/issues/issue-158.json new file mode 100644 index 00000000..41fe2aed --- /dev/null +++ b/spec/schema/core/issues/issue-158.json @@ -0,0 +1,40 @@ +[ + { + "description": "merge and shuffling properties", + "tests": [ + { + "description": "should fake all properties as expected", + "schema": { + "properties": { + "test": { + "type": "string" + }, + "count": { + "type": "integer" + } + }, + "additionalProperties": { + "type": "string", + "faker": "internet.email" + }, + "patternProperties": { + "^ignored": { + "type": "string" + }, + "prop$": { + "faker": "name.findName" + } + }, + "required": [ + "test", + "count", + "dropped", + "ignored-prop" + ] + }, + "valid": true, + "repeat": 100 + } + ] + } +] -- GitLab