```typescript import { defineVitestConfig } from "@nuxt/test-utils/config"; export default defineVitestConfig({ test: { globals: true, environment: "nuxt", coverage: { provider: "v8", all: true, reporter: ["html", "text"], }, environmentOptions: { nuxt: { mock: { intersectionObserver: true, indexedDb: true, }, }, }, }, resolve: { alias: { "~": "/", "~~": ".", }, }, }); ```