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

Tests fail on a fresh copy #289

Open
n3ps opened this issue Dec 17, 2019 · 1 comment
Open

Tests fail on a fresh copy #289

n3ps opened this issue Dec 17, 2019 · 1 comment

Comments

@n3ps
Copy link

n3ps commented Dec 17, 2019

  1. Clone
  2. npm install
  3. npm run test

Expected:
Failing or passing testings

Actual:
Jest encountered an unexpected token

Environment: Node 11.15.0

Looks like just a configuration issue.

@Abhijeet-Bose
Copy link

"transform": {
"\.js$": "/node_modules/babel-jest"
},

add this to your config file
and you might wanna update your node js enviroment

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

2 participants