You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
510 B
TypeScript
18 lines
510 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
import { fileURLToPath } from 'node:url'
|
|
|
|
const p = (rel: string) => fileURLToPath(new URL(rel, import.meta.url))
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'@sims/domain': p('./packages/domain/src/index.ts'),
|
|
'@sims/billing-engine': p('./packages/billing-engine/src/index.ts'),
|
|
'@sims/auth': p('./packages/auth/src/index.ts'),
|
|
},
|
|
},
|
|
test: {
|
|
include: ['packages/*/test/**/*.test.ts', 'apps/*/test/**/*.test.ts'],
|
|
},
|
|
})
|