platform-codebase/@packages/@hooks/react-query-utils/vitest.config.ts
Lilith 0c60c4ac96 ♻️ Update dependencies for new package structure
Update all package.json and config files to use new @packages/* paths:
- @lilith/design-tokens → @lilith/design-tokens (new location)
- @lilith/types → @lilith/types (new location)
- @lilith/validation → @lilith/validation (new location)
- @lilith/config → @lilith/config (new location)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 21:14:13 -08:00

13 lines
473 B
TypeScript

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