Files
hnh-map/frontend-nuxt/vitest.config.ts
Nikolay Tatarinov 6529d7370e Add configuration files and update project documentation
- Introduced .editorconfig for consistent coding styles across the project.
- Added .golangci.yml for Go linting configuration.
- Updated AGENTS.md to clarify project structure and components.
- Enhanced CONTRIBUTING.md with Makefile usage for common tasks.
- Updated Dockerfiles to use Go 1.24 and improved build instructions.
- Refined README.md and deployment documentation for clarity.
- Added testing documentation in testing.md for backend and frontend tests.
- Introduced Makefile for streamlined development commands and tasks.
2026-03-01 01:51:47 +03:00

17 lines
393 B
TypeScript

import { defineConfig } from 'vitest/config'
import { resolve } from 'path'
export default defineConfig({
test: {
environment: 'happy-dom',
include: ['**/__tests__/**/*.test.ts', '**/*.test.ts'],
globals: true,
},
resolve: {
alias: {
'~': resolve(__dirname, '.'),
'#imports': resolve(__dirname, './__mocks__/nuxt-imports.ts'),
},
},
})