Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

693 B
Raw Blame
import { fileURLToPath } from 'node:url';
import { defineConfig } from 'vitest/config';
import { okVitestBase } from '../../test-support/vitest.base';

const serverAuthorityRegistrySetup = fileURLToPath(
  new URL('../../test-support/server-authority-registry.setup.ts', import.meta.url),
);
const zodCompileSetup = fileURLToPath(
  new URL('./tests/support/zod-compile.test-helper.ts', import.meta.url),
);

export default defineConfig({
  ...okVitestBase,
  test: {
    ...okVitestBase.test,
    setupFiles: [...okVitestBase.test.setupFiles, zodCompileSetup, serverAuthorityRegistrySetup],
    exclude: [...okVitestBase.test.exclude, '**/*.network.test.ts', '.ok-skill-publish-*'],
  },
});