You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues to ensure the feature has not already been requested
🚀 Feature Proposal
We have been using Mongoose + Jest + Jest fake timers for a very long time without any problem. If you know what you are doing, this is entirely possible.
(node:1393585) [MONGOOSE] Warning: Mongoose: looks like you're trying to test a Mongoose app with Jest's mock timers enabled. Please make sure you read Mongoose's docs on configuring Jest to test Node.js apps: https://mongoosejs.com/docs/jest.html
It would be very nice to be able to disable this message. It is quite intrusive in the many printouts happening when you have a lot of unit test files.
Motivation
Allow users who know what they are doing to disable Jest warnings.
Example
No response
The text was updated successfully, but these errors were encountered:
thernstig
added
enhancement
This issue is a user-facing general improvement that doesn't fix a bug or add a new feature
new feature
This change adds new functionality, like a new method or class
labels
May 3, 2023
vkarpov15
added
developer-experience
This issue improves error messages, debugging, or reporting
and removed
new feature
This change adds new functionality, like a new method or class
enhancement
This issue is a user-facing general improvement that doesn't fix a bug or add a new feature
labels
May 4, 2023
Prerequisites
🚀 Feature Proposal
We have been using Mongoose + Jest + Jest fake timers for a very long time without any problem. If you know what you are doing, this is entirely possible.
Yet we get all warnings printed from https://github.com/Automattic/mongoose/blob/master/lib/helpers/printJestWarning.js e.g.:
It would be very nice to be able to disable this message. It is quite intrusive in the many printouts happening when you have a lot of unit test files.
Motivation
Allow users who know what they are doing to disable Jest warnings.
Example
No response
The text was updated successfully, but these errors were encountered: