Enzyme Quiz - evan-401-advanced-javascript/seattle-javascript-401d31 GitHub Wiki

Enzyme Quiz!

  1. What kind of rendering should you do if you don't want your test to change the behavior of child components?
  2. What kind of rendering should you do if you want to test components that interact with DOM APIs or higher level components?
  3. What kind of rendering should you do to have html generated from your react tree?

Answers:

  1. Shallow rendering
  2. Full rendering
  3. Static rendering