diff --git a/src/__tests__/__snapshots__/main-test.js.snap b/src/__tests__/__snapshots__/main-test.js.snap index d73470f59b6..cee149da5b0 100644 --- a/src/__tests__/__snapshots__/main-test.js.snap +++ b/src/__tests__/__snapshots__/main-test.js.snap @@ -40,3 +40,19 @@ Object { } } `; + +exports[`main fixtures processes component "component_3.js" without errors 1`] = ` +Object { + "description": "", + "methods": Array [], + "props": Object { + "style": Object { + "description": "", + "required": false, + "type": Object { + "name": "object" + } + } + } +} +`; diff --git a/src/__tests__/fixtures/component_3.js b/src/__tests__/fixtures/component_3.js new file mode 100644 index 00000000000..d9e52938f96 --- /dev/null +++ b/src/__tests__/fixtures/component_3.js @@ -0,0 +1,13 @@ +import React, { PropTypes } from 'react'; +import extendStyles from 'enhancers/extendStyles'; + +const Test = props => +