@pdtf/schemas 0.10.6 → 0.10.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -110,6 +110,14 @@ test("correctly gets yet, yet another subschema through a dependency", () => {
|
|
|
110
110
|
expect(subschema.enum).toStrictEqual(["Yes", "No"]);
|
|
111
111
|
});
|
|
112
112
|
|
|
113
|
+
test("correctly gets yet, yet, yet another subschema through a dependency", () => {
|
|
114
|
+
const subschema = getSubschema(
|
|
115
|
+
"/propertyPack/materialFacts/otherIssues/flooding/typeOfFlooding/groundWater/yesNo"
|
|
116
|
+
);
|
|
117
|
+
expect(subschema.type).toBe("string");
|
|
118
|
+
expect(subschema.enum).toStrictEqual(["Yes", "No"]);
|
|
119
|
+
});
|
|
120
|
+
|
|
113
121
|
test("correctly gets a subschema validator which is already cached", () => {
|
|
114
122
|
const validator = getSubschemaValidator(
|
|
115
123
|
"/propertyPack/energyPerformanceCertificate"
|