diff --git a/src/components/__tests__/__snapshots__/DiscriminatorDropdown.test.tsx.snap b/src/components/__tests__/__snapshots__/DiscriminatorDropdown.test.tsx.snap index 3af7ce9985..745c4cad4c 100644 --- a/src/components/__tests__/__snapshots__/DiscriminatorDropdown.test.tsx.snap +++ b/src/components/__tests__/__snapshots__/DiscriminatorDropdown.test.tsx.snap @@ -9,6 +9,7 @@ exports[`Components SchemaView discriminator should correctly render discriminat "deprecated": false, "description": "", "example": undefined, + "expanded": false, "explode": false, "in": undefined, "kind": "field", @@ -58,6 +59,7 @@ exports[`Components SchemaView discriminator should correctly render discriminat "deprecated": false, "description": "", "example": undefined, + "expanded": false, "explode": false, "in": undefined, "kind": "field", diff --git a/src/services/__tests__/models/Callback.test.ts b/src/services/__tests__/models/Callback.test.ts index 9fb67799dc..1bfe8ca7ca 100644 --- a/src/services/__tests__/models/Callback.test.ts +++ b/src/services/__tests__/models/Callback.test.ts @@ -20,7 +20,7 @@ describe('Models', () => { ); expect(callback.name).toEqual('Test.Callback'); expect(callback.operations.length).toEqual(0); - expect(callback.expanded).toBeUndefined(); + expect(callback.expanded).toBeFalsy(); }); }); });