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
ts-jest[config] (WARN) message TS151001:
If you have issues related to imports, you should consider setting `esModuleInterop` to `true` in your
TypeScript configuration file (usually `tsconfig.json`).
See https://blogs.msdn.microsoft.com/typescript/2018/01/31/announcing-typescript-2-7/#easier-ecmascript-module-interoperability for more information.
I do not want to set esModuleInterop to true.
I have seen --silent as a suggestion to suppress warnings, but this would also suppress every console.log I've made, which I don't want. (setting --silent also doesn't even suppress the warning for me for some reason)
How can I either disable all warnings or this specific warning in Jest while keeping console.log output?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When I run
jest
, it always printsI do not want to set
esModuleInterop
totrue
.I have seen
--silent
as a suggestion to suppress warnings, but this would also suppress everyconsole.log
I've made, which I don't want. (setting--silent
also doesn't even suppress the warning for me for some reason)How can I either disable all warnings or this specific warning in Jest while keeping
console.log
output?Beta Was this translation helpful? Give feedback.
All reactions