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

Unexpected token running tests #201

Open
matejstrasek opened this issue May 15, 2017 · 0 comments
Open

Unexpected token running tests #201

matejstrasek opened this issue May 15, 2017 · 0 comments

Comments

@matejstrasek
Copy link

I get this when i do npm run test:watch

SyntaxError: repositories/pepperoni/src/modules/specs/AppView.spec.js: Unexpected token (13:8)
11 | const fn = () => {};
12 | const wrapper = shallow(
> 13 | <AppView
| ^
14 | isReady={false}
15 | isLoggedIn={false}
16 | dispatch={fn}

Any ideas why this happens?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant