Bpistle/vitest.config.ts
Cody Tseng b00ff341c8
feat: add schemata schema validation tests (#689)
Co-authored-by: alltheseas <alltheseas@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: alltheseas <64376233+alltheseas@users.noreply.github.com>
2026-04-04 15:18:04 +08:00

19 lines
444 B
TypeScript

import path from 'path'
import { defineConfig } from 'vitest/config'
export default defineConfig({
define: {
'import.meta.env.GIT_COMMIT': '"test"',
'import.meta.env.APP_VERSION': '"0.0.0"',
'import.meta.env.VITE_COMMUNITY_RELAY_SETS': '[]',
'import.meta.env.VITE_COMMUNITY_RELAYS': '[]'
},
resolve: {
alias: {
'@': path.resolve(__dirname, './src')
}
},
test: {
include: ['src/**/*.spec.ts']
}
})