futurice/pepperoni-app-kit

Unexpected token running tests

matejstrasek opened this issue · 0 comments

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?