mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
21 lines
477 B
TypeScript
21 lines
477 B
TypeScript
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
import {defineConfig} from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
resolve: {tsconfigPaths: true},
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['**/*.{test,spec}.{ts,tsx}'],
|
|
exclude: ['node_modules', 'dist'],
|
|
testTimeout: 60000,
|
|
hookTimeout: 60000,
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text', 'json', 'html'],
|
|
exclude: ['**/*.test.tsx', '**/*.spec.tsx', 'node_modules/'],
|
|
},
|
|
},
|
|
});
|