mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-08 06:31:27 -07:00
Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { defineConfig } from 'vitest/config'
|
||||
|
||||
import { glob } from '@repo/workspace-dependencies/zx'
|
||||
|
||||
export default defineConfig(async () => {
|
||||
const cfgTs = 'vitest.config{,.node}.ts'
|
||||
|
||||
// all vitest projects
|
||||
const projectConfigPaths = await glob([`{apps,packages}/*/${cfgTs}`, `turbo/generators/${cfgTs}`])
|
||||
|
||||
return {
|
||||
test: {
|
||||
projects: projectConfigPaths,
|
||||
},
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user