-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Errors running yarn test
in this repository
#4449
Comments
Somebody needs to send a PR to remove the |
Would you mind sending that PR? :) |
I'd be happy too. There is also a I did this locally and the tests are running now, thanks! |
- removes the silent flag from package.json scripts - closes jestjs#4449
go for it. |
- removes the silent flag from package.json scripts - closes #4449
- removes the silent flag from package.json scripts - closes jestjs#4449
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Do you want to request a feature or report a bug?
bug?
What is the current behavior?
I'm trying to setup the
jest
repository to run tests before making a change to submit a pull request. I got to a point where when runningyarn test
results inflow: unknown option '--silent'.
What is the expected behavior?
Be able to run tests.
Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
I had previously followed the contributing guide and installed the necessary software to run the tests and was able to submit a PR, but since getting the latest from the repository and updating, it seems like I'm having more problems.
Before upgrading any external software, I ran the following commands:
git pull origin master yarn install yarn test
the
typecheck
step inyarn test
ran then and go received a lot offlow
errors saying that modules didn't exist. So I figured that I had to do something with lerna to install dependencies for the packages. I installed lerna and ranlerna bootstrap
, but there weren't any newnode_modules
folders in thepackages
.After finding some issues about yarn and lerna workspaces, I thought that might mean that I need to upgrade yarn (I had
v0.25.x
) and it would handle the packages' dependencies. That's when I ran:I then ran
yarn run clean-all
to ensure all of thenode_modules
are cleared out and ranyarn
again to install the dependencies. This results in the dependencies being installed but the build step failing. I'm able to runyarn run build
directly, then tried to runyarn test
and received the error mentioned above.I thought I'd ask here since I don't know if there is something else that I missed or if I have something on my machine that's conflicting.
The text was updated successfully, but these errors were encountered: