Sha256: 68efb0a19d49a5589cceab6e7500dd538cfa6a60603b9e4ccbd303cb406df821

Contents?: true

Size: 554 Bytes

Versions: 18

Compression:

Stored size: 554 Bytes

Contents

import { fileURLToPath } from "node:url"

import { mergeConfig } from "vite"
import { configDefaults, defineConfig } from "vitest/config"

import viteConfig from "./vite.config"

export default mergeConfig(
  viteConfig,
  defineConfig({
    test: {
      environment: "jsdom",
      exclude: [...configDefaults.exclude, "e2e/*"],
      root: fileURLToPath(new URL("./", import.meta.url)),
      transformMode: {
        web: [/\.[jt]sx$/]
      },
      include: ["**/__tests__/**/*.?(c|m)[jt]s?(x)", "**/?(*.){test,spec}.?(c|m)[jt]s?(x)"]
    }
  })
)

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
mihari-5.7.0 frontend/vitest.config.ts
mihari-5.6.2 frontend/vitest.config.ts
mihari-5.6.1 frontend/vitest.config.ts
mihari-5.6.0 frontend/vitest.config.ts
mihari-5.5.0 frontend/vitest.config.ts
mihari-5.4.9 frontend/vitest.config.ts
mihari-5.4.8 frontend/vitest.config.ts
mihari-5.4.7 frontend/vitest.config.ts
mihari-5.4.6 frontend/vitest.config.ts
mihari-5.4.5 frontend/vitest.config.ts
mihari-5.4.4 frontend/vitest.config.ts
mihari-5.4.3 frontend/vitest.config.ts
mihari-5.4.2 frontend/vitest.config.ts
mihari-5.4.1 frontend/vitest.config.ts
mihari-5.4.0 frontend/vitest.config.ts
mihari-5.3.2 frontend/vitest.config.ts
mihari-5.3.1 frontend/vitest.config.ts
mihari-5.3.0 frontend/vitest.config.ts