When you run tests using tools like , the library mounts your components in a simulated browser environment (usually jsdom or happy-dom ). Because Vue detects it is running in "development mode" but cannot find the Vue Devtools extension (which is impossible in a terminal/CLI environment), it logs a standard message to the console.
// In your test setup file or vitest.config.ts process.env.NODE_ENV = 'production'; Use code with caution. 2. Configure Global Silencing (Vitest) Frequently Asked Questions - Vue Devtools When you run tests using tools like ,
While helpful in a browser, this message "pollutes" your terminal output during automated testing. You can remove it using the following methods: 1. Set the Production Flag When you run tests using tools like ,