Supress <Suspense> warning, adds lots of console logs in tests
How do I hide the
<Suspense> is an experimental feature and its API will likely change.
message in Nuxt 3? When unit testing it appears many times for each test which is pretty frustrating3 Replies
Same here!
You can do it with vue config:
https://vuejs.org/api/application.html#app-config-warnhandler
Vue.js
Vue.js - The Progressive JavaScript Framework
It can be used to filter out specific warnings to reduce console verbosity. All Vue warnings should be addressed during development, so this is only recommended during debug sessions to focus on specific warnings among many, and should be removed once the debugging is done.