mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
31 lines
599 B
TypeScript
31 lines
599 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
poolOptions: {
|
|
custom: {
|
|
print: 'options are respected',
|
|
array: [1, 2, 3],
|
|
},
|
|
},
|
|
projects: [
|
|
{
|
|
extends: true,
|
|
test: {
|
|
name: 'custom-pool-test',
|
|
pool: './pool/custom-pool.ts',
|
|
exclude: ['**/*.threads.spec.ts'],
|
|
},
|
|
},
|
|
{
|
|
extends: true,
|
|
test: {
|
|
name: 'threads-pool-test',
|
|
include: ['**/*.threads.spec.ts'],
|
|
pool: 'threads',
|
|
},
|
|
},
|
|
]
|
|
},
|
|
})
|