chore: fix tests

This commit is contained in:
romanhotsiy 2020-10-13 19:10:04 +03:00
parent 129e18b939
commit d4016b8142
No known key found for this signature in database
GPG Key ID: 0BC2221278CCBBB8
2 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,7 @@ exports[`Components SchemaView discriminator should correctly render discriminat
"deprecated": false, "deprecated": false,
"description": "", "description": "",
"example": undefined, "example": undefined,
"expanded": false,
"explode": false, "explode": false,
"in": undefined, "in": undefined,
"kind": "field", "kind": "field",
@ -58,6 +59,7 @@ exports[`Components SchemaView discriminator should correctly render discriminat
"deprecated": false, "deprecated": false,
"description": "", "description": "",
"example": undefined, "example": undefined,
"expanded": false,
"explode": false, "explode": false,
"in": undefined, "in": undefined,
"kind": "field", "kind": "field",

View File

@ -20,7 +20,7 @@ describe('Models', () => {
); );
expect(callback.name).toEqual('Test.Callback'); expect(callback.name).toEqual('Test.Callback');
expect(callback.operations.length).toEqual(0); expect(callback.operations.length).toEqual(0);
expect(callback.expanded).toBeUndefined(); expect(callback.expanded).toBeFalsy();
}); });
}); });
}); });