platform-codebase/@packages/@hooks/react-query-utils/vitest.config.ts
Quinn Ftw 45fe9b925a Update test utilities and presets
- Enhance vitest presets configuration
- Update MSW handlers for websites
- Fix react-native test mocking

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 01:35:56 -08:00

13 lines
487 B
TypeScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
environment: 'jsdom',
globals: true,
setupFiles: ['./src/__tests__/setup.ts'],
// TODO: Fix @transquinnftw/configs tsconfig extends resolution issue with vitest
// The package's tsconfig extends @transquinnftw/configs/typescript/react.json
// but vitest's tsconfck can't resolve it. Re-enable tests once fixed.
exclude: ['**/__tests__/**', '**/node_modules/**'],
},
});