geocrop-platform./apps/nextgen/server/vitest.config.js

17 lines
440 B
JavaScript

const { defineConfig } = require('vitest/config');
module.exports = defineConfig({
test: {
environment: 'node',
globals: true,
setupFiles: ['./test-setup.js'],
include: ['tests/**/*.{test,spec}.js', 'src/**/*.{test,spec}.js'],
exclude: ['node_modules/**', 'data/**', 'uploads/**', 'coverage/**'],
testTimeout: 15000,
coverage: {
provider: 'v8',
reporter: ['text', 'html', 'json'],
},
},
});