title: TypeError: Cannot assign to read only property 'x' of object '#<Object>' React/JEST
body: <p>While I am writing test case for my react component I am getting </p>
  
  <p><strong>TypeError: Cannot assign to read only property 'x' of object '#'</strong></p>
  
  <p>wherein while the application run it does not throw similiar error</p>
  
  <p><em>The code for it is pretty basic</em></p>
  
  <blockquote>
    <p>this.props.defaultForm = true;</p>
  </blockquote>
  
  <p><strong>Why the behavior is different for test and actual application RUN?</strong></p>
  
  <p><strong>What would be work around if I want to write a test case?</strong></p>