exports for unit tests

XMLWordPrintable

      Cant get my jest unit tests to work with atlaskit

          Details:
      
          /Users/luke/BIM/bcapp-client/node_modules/@atlaskit/textfield/index.js:1
          ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){export { default } from &#x27;./components/Textfield&#x27;;
                                                                                                   ^^^^^^
      
          SyntaxError: Unexpected token export
      
            2 | import { connect } from &#x27;react-redux&#x27;
            3 | import { object, func } from &#x27;prop-types&#x27;
          > 4 | import TextField from &#x27;@atlaskit/textfield&#x27;
              | ^
      

            Assignee:
            Unassigned
            Reporter:
            Luke Robertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: