futurice / futurice/pepperoni-app-kit

Unexpected token running tests

Open
#201 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4.6k
Forks
631
PR merge metrics
No merged PRs in 30d

Description

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 |

Contributor guide

No contributing guide indexed for this repository

Research direction

Run npm run test:watch and inspect repositories/pepperoni/src/modules/__specs__/AppView.spec.js around line 13. Check the test tooling configuration responsible for parsing this file, then confirm that the test command completes without the syntax error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile-dev, testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.