From c9941cdc3e21444f8b9aae5d94269c1352c60dea Mon Sep 17 00:00:00 2001 From: Alex Varchuk Date: Tue, 25 Jan 2022 15:30:06 +0200 Subject: [PATCH] chore: update snapshot --- .../DiscriminatorDropdown.test.tsx.snap | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/components/__tests__/__snapshots__/DiscriminatorDropdown.test.tsx.snap b/src/components/__tests__/__snapshots__/DiscriminatorDropdown.test.tsx.snap index 09c33cce..623b783e 100644 --- a/src/components/__tests__/__snapshots__/DiscriminatorDropdown.test.tsx.snap +++ b/src/components/__tests__/__snapshots__/DiscriminatorDropdown.test.tsx.snap @@ -46,7 +46,6 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "deprecated": false, "description": "", "example": undefined, - "expanded": false, "explode": false, "in": undefined, "kind": "field", @@ -94,6 +93,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "pathInMiddlePanel": false, "payloadSampleIdx": 0, "requiredPropsFirst": false, + "schemaExpansionLevel": 0, "scrollYOffset": [Function], "showExtensions": false, "showObjectSchemaExamples": false, @@ -285,7 +285,6 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "deprecated": false, "description": "", "example": undefined, - "expanded": false, "explode": false, "in": undefined, "kind": "field", @@ -333,6 +332,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "pathInMiddlePanel": false, "payloadSampleIdx": 0, "requiredPropsFirst": false, + "schemaExpansionLevel": 0, "scrollYOffset": [Function], "showExtensions": false, "showObjectSchemaExamples": false, @@ -548,6 +548,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "pathInMiddlePanel": false, "payloadSampleIdx": 0, "requiredPropsFirst": false, + "schemaExpansionLevel": 0, "scrollYOffset": [Function], "showExtensions": false, "showObjectSchemaExamples": false, @@ -780,7 +781,6 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "deprecated": false, "description": "", "example": undefined, - "expanded": false, "explode": false, "in": undefined, "kind": "field", @@ -828,6 +828,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "pathInMiddlePanel": false, "payloadSampleIdx": 0, "requiredPropsFirst": false, + "schemaExpansionLevel": 0, "scrollYOffset": [Function], "showExtensions": false, "showObjectSchemaExamples": false, @@ -1019,7 +1020,6 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "deprecated": false, "description": "", "example": undefined, - "expanded": false, "explode": false, "in": undefined, "kind": "field", @@ -1067,6 +1067,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "pathInMiddlePanel": false, "payloadSampleIdx": 0, "requiredPropsFirst": false, + "schemaExpansionLevel": 0, "scrollYOffset": [Function], "showExtensions": false, "showObjectSchemaExamples": false, @@ -1282,6 +1283,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "pathInMiddlePanel": false, "payloadSampleIdx": 0, "requiredPropsFirst": false, + "schemaExpansionLevel": 0, "scrollYOffset": [Function], "showExtensions": false, "showObjectSchemaExamples": false, @@ -1520,6 +1522,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "pathInMiddlePanel": false, "payloadSampleIdx": 0, "requiredPropsFirst": false, + "schemaExpansionLevel": 0, "scrollYOffset": [Function], "showExtensions": false, "showObjectSchemaExamples": false, @@ -1727,6 +1730,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView }, } } + level={1} schema={ SchemaModel { "activeOneOf": 0, @@ -1748,7 +1752,6 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "deprecated": false, "description": "", "example": undefined, - "expanded": false, "explode": false, "in": undefined, "kind": "field", @@ -1796,6 +1799,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "pathInMiddlePanel": false, "payloadSampleIdx": 0, "requiredPropsFirst": false, + "schemaExpansionLevel": 0, "scrollYOffset": [Function], "showExtensions": false, "showObjectSchemaExamples": false, @@ -1987,7 +1991,6 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "deprecated": false, "description": "", "example": undefined, - "expanded": false, "explode": false, "in": undefined, "kind": "field", @@ -2035,6 +2038,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "pathInMiddlePanel": false, "payloadSampleIdx": 0, "requiredPropsFirst": false, + "schemaExpansionLevel": 0, "scrollYOffset": [Function], "showExtensions": false, "showObjectSchemaExamples": false, @@ -2250,6 +2254,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "pathInMiddlePanel": false, "payloadSampleIdx": 0, "requiredPropsFirst": false, + "schemaExpansionLevel": 0, "scrollYOffset": [Function], "showExtensions": false, "showObjectSchemaExamples": false, @@ -2477,7 +2482,6 @@ exports[`Components SchemaView discriminator should correctly render discriminat "deprecated": false, "description": "", "example": undefined, - "expanded": false, "explode": false, "in": undefined, "kind": "field", @@ -2533,7 +2537,6 @@ exports[`Components SchemaView discriminator should correctly render discriminat "deprecated": false, "description": "", "example": undefined, - "expanded": false, "explode": false, "in": undefined, "kind": "field",