mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-13 14:55:16 +00:00
Fold duplicated campanha access, loaders, list/filter/form shells, and scripts into shared modules; reorganize utilities by domain; stabilize e2e; and document prevention-first audit workflow so the same smells cannot creep back in.
18 lines
450 B
TypeScript
18 lines
450 B
TypeScript
import path from 'node:path'
|
|
|
|
import react from '@vitejs/plugin-react'
|
|
import tsconfigPaths from 'vite-tsconfig-paths'
|
|
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'server-only': path.resolve(process.cwd(), 'tests/helpers/serverOnly.ts'),
|
|
},
|
|
},
|
|
plugins: [tsconfigPaths(), react()],
|
|
test: {
|
|
environment: 'jsdom',
|
|
include: ['tests/unit/**/*.unit.spec.{ts,tsx}'],
|
|
},
|
|
})
|