import { defineConfig } from 'vitest/config';
import * as path from 'path';

export default defineConfig({
  test: {
    globals: true,
    watch: false,
    environment: 'node',
    include: ['tests/contracts/**/*.test.ts'],
    exclude: ['node_modules/**', '**/dist/**'],
  },
  resolve: {
    alias: {
      '@core': path.resolve(__dirname, './core'),
      '@adapters': path.resolve(__dirname, './adapters'),
      '@testing': path.resolve(__dirname, './adapters/testing'),
    },
  },
});