19 lines
515 B
TypeScript
19 lines
515 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
import * as path from 'path';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
watch: false,
|
|
environment: 'node',
|
|
include: ['tests/contracts/**/*.{test,spec}.ts'],
|
|
exclude: ['node_modules/**', '**/dist/**', '**/.next/**'],
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@core': path.resolve(__dirname, './core'),
|
|
'@adapters': path.resolve(__dirname, './adapters'),
|
|
'@testing': path.resolve(__dirname, './adapters/testing'),
|
|
},
|
|
},
|
|
}); |