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

Failed when run test script #51

Closed
dangleit01 opened this issue Dec 29, 2020 · 1 comment
Closed

Failed when run test script #51

dangleit01 opened this issue Dec 29, 2020 · 1 comment

Comments

@dangleit01
Copy link

When I ran command "npm test", I received error:

Pattern: jest.config.js - 0 matches
npm ERR! Test failed.

The current test script is described as

"test": "jest --config --runInBand jest.config.js"

To fix it, I changed the script to:

"test": "jest --config jest.config.js --runInBand"

@clintonwoo
Copy link
Owner

Yes that seems weird, sorry the comment is a bit late but looks like I've fixed it a long time ago also :)

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