`deprecationEntries` should be injected from `jest-validate` from `jest-config`.
See original GitHub issueDo you want to request a feature or report a bug? I guess it’d be a feature.
What is the current behavior?
jest-validate requires jest-config to get the deprecationEntries function.  This means consumers of jest-validate also have to install all the dependencies of jest-config, such as jest-environment-jsdom.
If the current behavior is a bug, please provide the steps to reproduce and
either a repl.it demo through https://repl.it/languages/jest or a minimal
repository on GitHub that we can yarn install and yarn test.
What is the expected behavior?
jest-validate should contain deprecationEntries.
Please provide your exact Jest configuration
Run npx envinfo --preset jest in your project directory and paste the
results here
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
 Top Results From Across the Web
Top Results From Across the Web
Configuring Jest
Keep in mind that the resulting configuration object must always be JSON-serializable. The configuration file should simply export an object: JavaScript ...
Read more >Troubleshooting | jest-preset-angular - GitHub Pages
By default, Jest doesn't transform node_modules , because they should be valid JavaScript files. However, it happens that library authors ...
Read more >jest-html-reporter - npm
Configure Jest to process the test results by adding the following entry to the Jest config (jest.config.json):.
Read more >Mocking a JavaScript Class with Jest, two ways to make it easier
Jest mock functions can also mock constructors and inject return values for mocked functions for the scope of the test. If you want...
Read more >How I do configure Jest to test my Angular 8 Project - ITNEXT
By Angular CLI defaults you'll have a src/test.ts file which will be picked up by jest. To circumvent this you can either rename...
Read more > Top Related Medium Post
Top Related Medium Post
No results found
 Top Related StackOverflow Question
Top Related StackOverflow Question
No results found
 Troubleshoot Live Code
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free Top Related Reddit Thread
Top Related Reddit Thread
No results found
 Top Related Hackernoon Post
Top Related Hackernoon Post
No results found
 Top Related Tweet
Top Related Tweet
No results found
 Top Related Dev.to Post
Top Related Dev.to Post
No results found
 Top Related Hashnode Post
Top Related Hashnode Post
No results found

jest-validateshould definitely be able to drop thejest-configdependency. PR very much welcome for this 🙂 I agree with @thymikee that it should be injected as a separate argument instead of living insidejest-validate.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. Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.