import { defineConfig } from 'vitest/config';

// Pure-logic unit tests for the data-import domain layer (features/data-import/domain/**).
// `node` env is enough — the domain is framework-free and uses only Web globals (no DOM,
// no React, no axios). Mirrors shared/vitest.config.ts so `npm test -w frontend_publisher`
// behaves like the rest of the monorepo.
export default defineConfig({
  test: {
    environment: 'node',
    include: ['src/**/*.test.ts'],
  },
});
