mirror of
https://github.com/Smile-QWQ/SubTracker.git
synced 2026-06-20 12:13:05 +08:00
- point API and Web Vitest directly at the shared package source - avoid relying on packages/shared/dist existing before tests run in a clean CI checkout - avoid reading app settings from Prisma when Wallos preview test options provide defaults - restore latest Docker tags for release images
15 lines
310 B
TypeScript
15 lines
310 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
import path from 'node:path'
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'@subtracker/shared': path.resolve(__dirname, '../../packages/shared/src/index.ts')
|
|
}
|
|
},
|
|
test: {
|
|
include: ['tests/**/*.test.ts'],
|
|
environment: 'node'
|
|
}
|
|
})
|