diff --git a/test/vitest.setup.ts b/test/vitest.setup.ts index 31e7251..b3d0305 100644 --- a/test/vitest.setup.ts +++ b/test/vitest.setup.ts @@ -1,5 +1,9 @@ import Vue from 'vue' -import Vuetify from 'vuetify/lib' +Vue.config.devtools = false +Vue.config.productionTip = false + +// import vuetify after suppressing devtools warning +const Vuetify = (await import('vuetify/lib')).default Vue.use(Vuetify) diff --git a/vite.config.ts b/vite.config.ts index 92d767f..48a43cd 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -131,9 +131,5 @@ export default defineConfig({ include: ['test/**/*.test.ts', 'src/**/__tests__/*'], environment: 'jsdom', setupFiles: ['./test/vitest.setup.ts'], - onConsoleLog(log) { - if (log.includes('Download the Vue Devtools extension')) return false - if (log.includes('Lit is in dev mode.')) return false - }, }, })