Skip to content
This repository has been archived by the owner on Feb 15, 2025. It is now read-only.

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/[email protected]
├── [email protected] extraneous
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]```

@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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants