File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -56,14 +56,8 @@ describe("<ObjectModel />", function() {
5656 const wrapper = shallow ( < ObjectModel { ...props } /> )
5757 const renderedModel = wrapper . find ( Model )
5858 expect ( renderedModel . length ) . toEqual ( 3 )
59-
60- // Assert the schema's properties have maintained their order
61- //const modelExampleSchemaProperties = renderedModel.props().schema.toJS().properties
62- console . log ( renderedModel . get ( 0 ) . props ) ;
63-
6459 expect ( renderedModel . get ( 0 ) . props . schema . get ( "name" ) ) . toEqual ( "c" )
6560 expect ( renderedModel . get ( 1 ) . props . schema . get ( "name" ) ) . toEqual ( "b" )
6661 expect ( renderedModel . get ( 2 ) . props . schema . get ( "name" ) ) . toEqual ( "a" )
67- //expect( Object.keySeq(modelExampleSchemaProperties) ).toEqual(["c", "b", "a"])
6862 } )
6963} )
You can’t perform that action at this time.
0 commit comments