• Enzyme
  • Introduction
  • 1. Guides
    • 1.1. Browserify
    • 1.2. WebPack
    • 1.3. JSDOM
    • 1.4. Jest
    • 1.5. Karma
    • 1.6. Mocha
    • 1.7. React Native
    • 1.8. Lab
    • 1.9. Tape and AVA
  • 2. Installation
    • 2.1. Working with React 0.13.x
    • 2.2. Working with React 0.14.x
    • 2.3. Working with React 15.x
  • 3. API Reference
    • 3.1. Shallow Rendering
      • 3.1.1. at(index)
      • 3.1.2. childAt()
      • 3.1.3. children()
      • 3.1.4. closest(selector)
      • 3.1.5. contains(nodeOrNodes)
      • 3.1.6. containsMatchingElement(node)
      • 3.1.7. containsAllMatchingElements(nodes)
      • 3.1.8. containsAnyMatchingElements(nodes)
      • 3.1.9. context([key])
      • 3.1.10. debug()
      • 3.1.11. equals(node)
      • 3.1.12. every(selector)
      • 3.1.13. everyWhere(predicate)
      • 3.1.14. filter(selector)
      • 3.1.15. filterWhere(predicate)
      • 3.1.16. find(selector)
      • 3.1.17. findWhere(predicate)
      • 3.1.18. first()
      • 3.1.19. forEach(fn)
      • 3.1.20. get(index)
      • 3.1.21. hasClass(className)
      • 3.1.22. html()
      • 3.1.23. instance()
      • 3.1.24. is(selector)
      • 3.1.25. key()
      • 3.1.26. last()
      • 3.1.27. map(fn)
      • 3.1.28. isEmpty()
      • 3.1.29. matchesElement(node)
      • 3.1.30. name()
      • 3.1.31. not(selector)
      • 3.1.32. parent()
      • 3.1.33. parents()
      • 3.1.34. prop([key])
      • 3.1.35. props()
      • 3.1.36. reduce(fn[, initialValue])
      • 3.1.37. reduceRight(fn[, initialValue])
      • 3.1.38. render()
      • 3.1.39. setContext(context)
      • 3.1.40. setProps(nextProps)
      • 3.1.41. setState(nextState[, callback])
      • 3.1.42. shallow([options])
      • 3.1.43. simulate(event[, data])
      • 3.1.44. slice([begin[, end]])
      • 3.1.45. some(selector)
      • 3.1.46. someWhere(predicate)
      • 3.1.47. state([key])
      • 3.1.48. tap(intercepter)
      • 3.1.49. text()
      • 3.1.50. type()
      • 3.1.51. unmount()
      • 3.1.52. update()
    • 3.2. Full DOM Rendering
      • 3.2.1. at(index)
      • 3.2.2. contains(nodeOrNodes)
      • 3.2.3. containsMatchingElement(node)
      • 3.2.4. containsAllMatchingElements(nodes)
      • 3.2.5. containsAnyMatchingElements(nodes)
      • 3.2.6. childAt()
      • 3.2.7. children()
      • 3.2.8. closest(selector)
      • 3.2.9. context([key])
      • 3.2.10. debug()
      • 3.2.11. detach()
      • 3.2.12. every(selector)
      • 3.2.13. everyWhere(predicate)
      • 3.2.14. filter(selector)
      • 3.2.15. filterWhere(predicate)
      • 3.2.16. find(selector)
      • 3.2.17. findWhere(predicate)
      • 3.2.18. first()
      • 3.2.19. forEach(fn)
      • 3.2.20. get(index)
      • 3.2.21. hasClass(className)
      • 3.2.22. html()
      • 3.2.23. instance()
      • 3.2.24. is(selector)
      • 3.2.25. key()
      • 3.2.26. last()
      • 3.2.27. map(fn)
      • 3.2.28. isEmpty()
      • 3.2.29. matchesElement(node)
      • 3.2.30. mount()
      • 3.2.31. name()
      • 3.2.32. not(selector)
      • 3.2.33. parent()
      • 3.2.34. parents()
      • 3.2.35. prop([key])
      • 3.2.36. props()
      • 3.2.37. reduce(fn[, initialValue])
      • 3.2.38. reduceRight(fn[, initialValue])
      • 3.2.39. ref(refName)
      • 3.2.40. render()
      • 3.2.41. setContext(context)
      • 3.2.42. setProps(nextProps[, callback])
      • 3.2.43. setState(nextState[, callback])
      • 3.2.44. simulate(event[, data])
      • 3.2.45. slice([begin[, end]])
      • 3.2.46. some(selector)
      • 3.2.47. someWhere(predicate)
      • 3.2.48. state([key])
      • 3.2.49. tap(intercepter)
      • 3.2.50. text()
      • 3.2.51. type()
      • 3.2.52. unmount()
      • 3.2.53. update()
    • 3.3. Static Rendering
    • 3.4. Selectors
  • 4. Change Log
  • 5. Future
  • 6. Contributing Guide
Powered by GitBook

Enzyme

  Edit This Page

Enzyme Guides

  • Using Enzyme with Browserify
  • Using Enzyme with WebPack
  • Using Enzyme with JSDOM
  • Using Enzyme with React Native
  • Using Enzyme with Jest
  • Using Enzyme with Karma
  • Using Enzyme with Mocha
  • Using Enzyme with Tape and AVA