marchello
marchello

Reputation: 2136

Jest-expo test doesn't run

If I follow this readme: https://github.com/expo/expo/tree/master/packages/jest-expo

My output when running npm run test is this:

> [email protected] test C:\Users\[username]\Documents\Projects\[projectname]
> jest

PS C:\Users\[username]\Documents\Projects\[projectname]>

It just outputs nothing. I tried with yarn as well, but no luck.

Upvotes: 3

Views: 376

Answers (1)

Markoorn
Markoorn

Reputation: 2565

I had the same issue and fixed it by changing the "test" scripts section

from:

"test": "node_modules/.bin/jest"

to:

"test": "node ./node_modules/jest/bin/jest.js"

It seems their GitHub how-to is incorrect.

Upvotes: 3

Related Questions