mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-25 10:19:30 -05:00
acba4dc487
* chore: align on vitest versions across the repo, add project vitest config * Apply suggestion from @cacieprins * Apply suggestion from @cacieprins * Apply suggestion from @cacieprins * Apply suggestion from @cacieprins * Update package.json * lockfile, align vite with vitest * add vitest configs to pkgs that were missing it * update build scripts * fix test pattern for vite-dev-server * correct the path for packages/types tests * downgrade vite-dev-server to vitest 2
17 lines
387 B
TypeScript
17 lines
387 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
projects: [
|
|
'{packages,tooling,scripts}/*/vitest.config.{ts,mjs}',
|
|
'cli/vitest.config.*',
|
|
],
|
|
exclude: ['**/node_modules/**', '**/dist/**', 'system-tests/**'],
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['clover'],
|
|
},
|
|
reporters: ['default', 'junit'],
|
|
},
|
|
})
|