Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues Running test using ES8 syntax #364

Closed
johnryan opened this issue Aug 9, 2017 · 0 comments
Closed

Issues Running test using ES8 syntax #364

johnryan opened this issue Aug 9, 2017 · 0 comments
Labels

Comments

@johnryan
Copy link

johnryan commented Aug 9, 2017

This issue is a: Bug Report

When using the syntax mentioned here https://github.com/insin/nwb/blob/master/docs/guides/ReactComponents.md#libraries

i.e. export Button from './Button'

The running the tests throws an error:

PhantomJS 2.1.1 (Mac OS X 0.0.0) ERROR
  Error: Module build failed: SyntaxError: Unexpected token, expected { (2:7)
  
    1 | 
  > 2 | export Button from './Button'
      |        ^
    3 | 
  
  at tests/index-test.js:26749

Information:

Node 6.11.0
npm 3.10.10
nwb 0.18.10
├── @storybook/react@3.2.3
├── node-pre-gyp@0.6.36 extraneous
├── nwb@0.18.10
├── react@15.6.1
├── react-dom@15.6.1
└── styled-components@2.1.2```

@insin insin added the bug label Dec 12, 2017
@insin insin mentioned this issue Dec 12, 2017
8 tasks
@insin insin closed this as completed in 0f2434e Dec 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants