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

Disable Jest Validation Warnings #354

Closed
M3ssman opened this issue Aug 21, 2018 · 6 comments
Closed

Disable Jest Validation Warnings #354

M3ssman opened this issue Aug 21, 2018 · 6 comments

Comments

@M3ssman
Copy link

M3ssman commented Aug 21, 2018

💬 Questions and Help

Hello out there,

is it possible to silence Jest Validation Warnings for the Unknown options that are currently shown up at Test Start? Did I miss some regarding Configuration Flag?

@corevo
Copy link
Member

corevo commented Aug 21, 2018

It is a bug, due to the semver we used in the runner, npm installs a version of jest that is newer than the one we use for testing (it is a common practice, to get important security upgrades).
We will have to move to the current way jest suggests doing so.

@M3ssman
Copy link
Author

M3ssman commented Aug 21, 2018

Aren't you using npm 5.x+ with the package-lock-Mechanics? I suppose not, since there's a yarn.lock inside the side-runner package. Which node/npm-Versions do you use for Development?
My previous company moved last year from yarn back to npm and was pretty happy with it.

@M3ssman
Copy link
Author

M3ssman commented Aug 21, 2018

If it's not such a big Issue, I can try to adopt the new jest format myself?

@corevo
Copy link
Member

corevo commented Aug 21, 2018

The lock files are ignored when you install a package, they are only used when you npm install your own project.

@corevo
Copy link
Member

corevo commented Aug 21, 2018

Quoting:

During install Yarn will only use the top-level yarn.lock file and will ignore any yarn.lock files that exist within dependencies

@corevo
Copy link
Member

corevo commented Aug 21, 2018

Appears to be a bug in jest.
They still haven't released a new version, for the time being I'll freeze the runner to run against jest 23.4.2 instead of 23.5.0.

@corevo corevo closed this as completed in 9f36940 Aug 21, 2018
@lock lock bot locked and limited conversation to collaborators Aug 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants