import { defineConfig } from 'vitest/config';

export default defineConfig({
  test: {
    include: [
      'test/ack-peer-selection.test.ts',
      'test/trust-metadata.test.ts',
      'test/dkg-publisher-compat.test.ts',
      'test/shared-memory-publish-boundary.test.ts',
      'test/storage-ack-roster-and-verify-mofn-extra.test.ts',
      'test/verification-metadata.test.ts',
      'test/verify-collector.test.ts',
      'test/verify-proposal-handler.test.ts',
      'test/views-min-trust-extra.test.ts',
      'test/async-lift-validation.test.ts',
      'test/async-lift-ka-broadcast-progress.test.ts',
      'test/async-lift-publish-options.test.ts',
      'test/async-promote-queue.test.ts',
      'test/multi-root-token-rows.test.ts',
      'test/promote-step-tag.test.ts',
      'test/agents-meta-bound.test.ts',
      'test/ack-collector.test.ts',
      'test/publish-lifecycle-logger.test.ts',
      'test/storage-ack-handler.test.ts',
    ],
    testTimeout: 60_000,
    maxWorkers: 1,
  },
});
