-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
FastifyWarning not an instance of Error #2
Comments
On further investigation... it seems that this is thrown when anything other than a string is passed to process.emitWarning This might be a JEST thing... |
Apparently if the warning name in nodejs is 'DeprecationWarning' it handles differently. This works in my environment:
|
I am running into an issue using typescript, fastify, and jest.
A plugin I am using is throwing a FastifyWarning.
Jest blows up with:
The text was updated successfully, but these errors were encountered: