cised-ca / se-dir-frontend-react

GNU Affero General Public License v3.0
2 stars 1 forks source link

unit tests: Implement Enzyme #35

Closed chimo closed 8 years ago

chimo commented 8 years ago

http://airbnb.io/enzyme/

Seems to make it a lot easier to write react unit tests.

Enzyme is mentioned in the ReactJS docs (https://facebook.github.io/react/docs/test-utils.html) and the yeoman generator our project is based on will implement it in a future version.