initial commit
This commit is contained in:
26
vitest.config.ts
Normal file
26
vitest.config.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
projects: [
|
||||
{
|
||||
test: {
|
||||
name: 'unit',
|
||||
include: ['src/**/*.spec.ts'],
|
||||
},
|
||||
},
|
||||
{
|
||||
test: {
|
||||
name: 'types',
|
||||
include: ['src/**/*.type-spec.ts'],
|
||||
typecheck: {
|
||||
enabled: true,
|
||||
only: true,
|
||||
include: ['src/**/*.type-spec.ts'],
|
||||
tsconfig: './tsconfig.json',
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user